Project

General

Profile

Actions

Bug #81008

closed

f:image, f:media and pdf thumbnail rendering in Frontend

Added by Sabine Deeken over 7 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Fluid Styled Content
Target version:
-
Start date:
2017-04-25
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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

Actions #1

Updated by Riccardo De Contardi over 7 years ago

  • Category set to Fluid Styled Content
Actions #2

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.

Actions #3

Updated by Riccardo De Contardi almost 4 years ago

perchance could it be related to #80085? were there "odd" characters in the file metadata?

Actions #4

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.

Actions #5

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

Actions

Also available in: Atom PDF