- πΊπ¦Ukraine HitchShock Ukraine
Hi @rsbarbano
Nope, we don't have such a feature at the moment. But I think it will be a nice feature for this module.
I will update this ticket to implement a drush command for that, or some admin page with bulk operation. - πΊπΎUruguay rsbarbano
That would be great @hitchshock! Thank you very much in advance :)
- First commit to issue fork.
- π³πΏNew Zealand dman Koh Samui, Thailand
Historically, it's a very normal requirement β that this would be run as an update to existing content. This is easily done using Views Bulk Operations, where you can select all the affected nodes and simply bulk run any action that includes a "save" (I used "set published" as the least disruptive action, IIRC). All missing derivatives should get filled in at that time.
But updating many existing images after changing the settings is a little trickier. I would still look towards VBO if it had the option to Bulk edit/delete field β , because deleting an old image through VBO would still trigger the action of generating a new one immediately.
Long ago (drupal 6) there was a thought to publish an "Action" to let you directly "Update PDF Image". That would be the tightest approach, and most integrated with Drupal content admin. Back then, The work-around was just 2 lines of VBO PHP-action, so that feature was never published.
I believe you can also trigger actions like this with `drush vbo-exec` if you really want to do it that way.
- πΊπΎUruguay rsbarbano
Hello dman, thanks for your reply. Simply editing a content and saving it wont trigger the pdf to image generation. Ive tested that the only way to trigger it is to upload a pdf (or in my case in which i have existing nodes prior to the installation of the module: delete the pdf and reupload it). . Maybe im missing something?
Thanks.
Denist3r β changed the visibility of the branch 2902290-implement-a-way to hidden.
- Assigned to Denist3r
- Status changed to Needs work
11 months ago 3:05pm 8 March 2024 - Merge request !4Implemented action to regenerate PDF into Image field β (Open) created by Denist3r
- Status changed to Needs review
9 months ago 1:20pm 10 May 2024