Bug #81008
closedf:image, f:media and pdf thumbnail rendering in Frontend
0%
Description
Hello,
I was struggeling with the problem, that some pdf-fhumbnails are not rendered in fluid.
for me the problem occured in fluid-template for the uploads-content-element (with bootstrap-package, but I'm quite sure that it comes from fluid.)
this fluid-snipplet generates all thumbnails (as far as I can see it by now):
<f:image src="{file.publicUrl}" alt="{file.alternative}" width="{settings.preview.width}" height="{settings.preview.height}" />
this renders most pdf-thumbnails, but some not:
<f:media file="{file}" width="{settings.preview.width}" height="{settings.preview.height}" alt="{file.alternative}" />
I guess it could have something to do with the pdf-frame problem which might not yet be implemented in the f:media-viewhelper?
with the best regards,
Sabine
Updated by Riccardo De Contardi over 7 years ago
- Category set to Fluid Styled Content
Updated by Benni Mack almost 5 years ago
- Status changed from New to Needs Feedback
Hey Sabine,
thank you for your report. could you please let me know why "some PDFs are rendered and some are not"? I try to reproduce the setup.
Updated by Riccardo De Contardi almost 4 years ago
perchance could it be related to #80085? were there "odd" characters in the file metadata?
Updated by Christian Kuhn almost 3 years ago
- Status changed from Needs Feedback to Closed
hey. i hope it's ok to close here for now: this issue won't be able to be reproduces if we don't have at least an example .pdf that shows the issue to play around with. in case this is still a problem, we could restart with a fresh issue.
Updated by Stefan Froemken over 2 years ago
I just have the same problem with one of our customers. I have found the problem:
lib.contentElement.settings.uploads.preview.width = 150 lib.contentElement.settings.uploads.preview.height = aut
There was a missing "o" ;-)
Works now.
Stefan