Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
When we save media entity with pdf file, the thumbnail image is saved public://styles/thumbnail/public/
directory, but this directory is reserved for image styles. Then when we go to the media list page and check thumbnail image url, we can see something like this /sites/default/files/styles/thumbnail/public/styles/thumbnail/public/2019-09/examplefile.pdf.png
Proposed resolution
We should create a separate directory "media_pdf_thumbnails" and save new images here. Also we should remove deprecated functions.
Comment | File | Size | Author |
---|---|---|---|
#2 | media_pdf_thumbnail-3085777-2.patch | 2.23 KB | lamp5 |
Comments
Comment #2
lamp5Comment #3
sgostanyan CreditAttribution: sgostanyan as a volunteer and commentedThe module has received significative updates. Please update to version 2.1
Thanks.
Comment #4
sgostanyan CreditAttribution: sgostanyan as a volunteer and commented