- Issue created by @a.dmitriiev
- @admitriiev opened merge request.
- Status changed to Needs review
almost 2 years ago 11:31am 20 February 2023 - Assigned to hanan alasari
- Status changed to RTBC
almost 2 years ago 4:06pm 23 February 2023 - 🇩🇪Germany hanan alasari kassel
- - I have first create fresh D10 and cloned the repo from https://www.drupal.org/project/media_pdf_thumbnail/git-instructions →
- - Installed the module with composer
- - Enable media module and add more than 20 files.
- - Enable media_pdf_thumbnail module
- - Change the media view display to use PDF thumbnails for media.
- - Run the cron /admin/config/system/cron or just run drush cron.
- - Go to the media view and configure field: Media: Thumbnail to use Media PDF Thumbnail Image Formatter settings and enable the checkbox
- to which page is use the thumbnail and this should be in this case just for file media type.
- - Test.. loading time looks good and i can see the thumbnails made from the first page of the PDF file.
- 🇫🇷France sgostanyan
Thanks for proposing that feature.
The generation in cron/queue has been added in version 6.x but in a different way. The formatter itself get that option, the Media "Queue thumbnail downloads" is not used for two reasons.
The first one is because we decided to let users to use the queueing system separately for each formatter in each view mode, for a finnest configuration.
The second one is because some people use that module for other entities than Media. It works for any fields (usage of any image field with any file field) in any entity, so we want that users have also the opportunity to take advantage of that feature.As version 6.x is still in beta, that patch will be usefull for those who want cron/queue feature for now. But it will not be included in 5.x release for avoiding confusion when upgrading to version 6.
King regards
- Status changed to Fixed
over 1 year ago 9:59am 15 August 2023