Implement a way to regenerate PDF images

Created on 15 August 2017, over 7 years ago
Updated 10 May 2024, 9 months ago

The goal:
Implement a new drush command (or admin bulk operation page) to provide a way to regenerate images from the field with PDF file.

Why:
There are several cases when we need that:
- we changed some widget settings and want to regenerate all entities that use it.
- we installed this module on the site, where we have already a lot of entities. We implemented this module to generate images into a new image field but we need that not only for new entities but for old ones. So we need a way to generate images from PDF for existing entities.

What to do:
Make a new drush command, with the following parameters/arguments:
- entity type - is required
- bundle - optional
- ids - optional
- pdf_field - machine name of the field with PDF files
- target_field - machine name of the field where the generated PDF images will be stored
- < other possible options from the widget >: image_format, resolution, compression, only_pdf, batch_limit

✨ Feature request
Status

Needs review

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States duntuk

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024