Bug #59054
closedCSS Styled Content renders non-existing thumbnails
0%
Description
The condition tt_content.uploads.20.renderObj.15.stdWrap.if.isFalse.cObject.file
(css_styled_content/static/, 1331) fails, if the site uses config.absRefPrefix
.
In this circumstance, the "File Links" content element in Layout 2 ("show preview image - show icon if no preview image can be generated") will output both the non-existing preview image AND the icon.
Updated by Riccardo De Contardi over 9 years ago
I can confirm it with version 6.2.12; with
config.absRefPrefix =1
the output of the preview image becomes:
<img src="1fileadmin/_processed_/csm_cat-671542_640_2838c1a608.jpg" width="150" height="221" alt="" border="0">
so there is a "1" before the path :S I don't know where it comes from...
Updated by Riccardo De Contardi over 9 years ago
I can confirm it is still present on 6.2.14 but not on 7 (latest master)
Updated by Riccardo De Contardi over 8 years ago
- Status changed from New to Needs Feedback
Sorry that my previous comment was totally wrong: config.absRefPrefix
is not a boolean (shame on me...)
anyway, setting:
config.absRefPrefix = /
On TYPO3 6.2.22 I am not able to reproduce the problem; the only problem I have is with PDF files (broken preview image, 0px by 0px) , but maybe it is related to my setup.
Can you try with 6.2.22? Thank you!
Updated by Alexander Opitz about 8 years ago
- Status changed from Needs Feedback to Closed
No feedback within the last 90 days => closing this issue.
If you think that this is the wrong decision or experience this issue again, then please write to the mailing list typo3.teams.bugs with issue number and an explanation or open a new ticket and add a relation to this ticket number.