Bug #59402
closedImage uid in Frontend is always equal number images
0%
Description
I can not display an image in the frontend.
The function getFileObject() always takes a wrong uid for an image, so I get the error "no file found for given uid."
The images are correctly displayed in the backend but not in the frontend.
If I echo the uid in ResourceFactory/getFileObject() it prints out "1" if there is one image, two times "2" if there are two images and so on.
So the uid correlates with the number of images added in the backend.
Typo3 6.2.3 is set up freshly and only text content and template is inserted (with no image handling in typoscript)
Updated by Markus Klein over 10 years ago
- Status changed from New to Needs Feedback
Please post your code.
Updated by David Meister over 10 years ago
I found the error.
CSS Styled Content TYPO3 v6.1 was set instead of CSS Styled Content.
But the behaviour and the error message is not clear for this reason. For what are these "old" styled content templates still in the latest version?
It's confusing that such an error occurs when selecting it.
Updated by Markus Klein over 10 years ago
- Status changed from Needs Feedback to Closed
These old templates are there to create the HTML output of those old version, which might be handy if you upgrade older sites.
But they only work if you enable [FE][activateContentAdapter] in the Install Tool.