Try our conversational search powered by Generative AI!

After installing PDF preview, the previously uploaded PDF files are not recognized as PDF but newly uploaded are.

Vote:
 

Hi,

I have recently installed PDF preview version 1.0.0 and the .pdf files that were uploaded before installation are not recognized as PDF files and they can not be previewed. However when I download one of those files that are not recognized as PDF files and upload it again it is then recognized as a PDF file. New PDF files that are uploaded are also recognized as PDF. Does anyone know how to fix this so files uploaded before installation are recognized as PDF?

Edit: EPi 11 by the way

Best wishes

T

#208329
Edited, Oct 22, 2019 8:18
Vote:
 

Hi Tony,

By default, the ContentMediaResolver class from Episerver CMS Core gets the first matching media implementation type registered for an extension. If there is an existing type registered for “pdf”, the PdfFile media implementation in the Episerver package is used but in this case, the existing type should be chosen in this case.

Please refer the article here for more information

https://world.episerver.com/documentation/developer-guides/CMS/add-ons/pdf-preview/

#208345
Oct 22, 2019 12:24
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.