Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Chriztian Steinmeier 2800 posts 8790 karma points MVP 8x admin c-trib
    Mar 09, 2016 @ 23:12
    Chriztian Steinmeier
    0

    Show thumbnail for PDF when a thumbnail exists

    Hi all!

    I've managed to have an EventHandler create a thumbnail of the 1st page of a PDF when saved in the Media Section - but how do I get the Media section to show that thumbnail for the PDF?

    If the PDF is named "/media/1234/presentation.pdf" the thumbnail gets the (standard) name "/media/1234/presentation_thumb.jpg" - but the Media Section apparently doesn't automatically show that file as the thumb, if it's not an Image Media Type (PDFs are File Media Types).

    Does anyone know how/where to tweak?

    /Chriztian

  • Jeroen Breuer 4908 posts 12265 karma points MVP 5x admin c-trib
    Mar 10, 2016 @ 08:28
    Jeroen Breuer
    0

    Not really sure if you can tweak this. I think a thumbnail is only displayed if the uploaded file has the correct extension. Maybe it's easier to create a custom property editor which you add the File Media Type. The property editor could check if there is a thumbnail available and show that always.

    Jeroen

Please Sign in or register to post replies

Write your reply to:

Draft