[TYPO3-mvc] Problem with image viewhelper... no image displayed when dimensions are specified
Stephen Bungert
stephenbungert at yahoo.de
Tue Dec 27 17:10:42 CET 2011
I have the following fluid tag in a temlate:
<f:image src="{image}" height="40c" width="60c" title="{spb2:title(record:
item)}" alt="{spb2:title(record: item)}" />
{image} is "fileadmin/images/image1.jpg"
I can view this file ok in the browser.
If I remove the height and width attributes, fluid also then renders the
image, all be it at the real size - which I don't want.
Anyone any idea why this doesn't work when I try and specify a width and
height?
Thanks for any tips!
Stephen.
More information about the TYPO3-project-typo3v4mvc
mailing list