[TYPO3-mvc] Problem with image viewhelper... no image displayed when dimensions are specified
Claus Due
claus at wildside.dk
Tue Dec 27 17:21:34 CET 2011
Hi Stephen,
If image resizing in general works on your TYPO3 installation I can see only one possible cause:
That both height and width are specified with a "crop" marker (the c) - try removing it from one of the values and just let it be a raw value.
I'm guessing though...
Cheers,
Claus
On Dec 27, 2011, at 5:10 PM, Stephen Bungert wrote:
> 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.
> _______________________________________________
> TYPO3-project-typo3v4mvc mailing list
> TYPO3-project-typo3v4mvc at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-typo3v4mvc
More information about the TYPO3-project-typo3v4mvc
mailing list