Lost ability to generate different media type thumbnail

Created on 27 October 2023, about 1 year ago
Updated 19 November 2023, 12 months ago

Lost ability to generate different media type thumbnail

After installing and setup module File MIME lost ability to generate different media thumbnail for PDF, WORD, ... It start generate generic.png.

I upload my images to /sites/default/files/styles/thumbnail/public/media-icons/generic/
application--pdf.png
text--plain.png
application--zip.png
application--rtf.png
to get different images in media library.

After I installed and setup Fule MINE module, system stop generafing URL with for example application--pdf.png, but use only generic.png for all types

My setup Custom MIME type mappings:
PDF pdf
TXT txt
ZIP zip
RTF rtf
ODT odt
DOCX docx
DOC doc
PNG png
JPG jpg

Please, where can be problem? Thank you.

πŸ’¬ Support request
Status

Fixed

Version

1.11

Component

Code

Created by

πŸ‡ΈπŸ‡°Slovakia voloda86

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

Comments & Activities

  • Issue created by @voloda86
  • Status changed to Fixed 12 months ago
  • πŸ‡ΊπŸ‡ΈUnited States mfb San Francisco

    @voloda86 Drupal should already have all of those MIME mappings built in, so I believe you should be able to delete all of those custom MIME mappings - they are completely unnecessary, as far as I know.

    Also, make sure any custom mappings you do add start with the media type, followed by the file extension(s), for example:

    application/pdf                                 pdf

    (But again, you don't have to add PDF, it is built-in to Drupal core :)

    Please re-open this issue if I'm misunderstanding or you still have a problem.

  • Automatically closed - issue fixed for 2 weeks with no activity.

Production build 0.71.5 2024