[TYPO3-dev] Fluid and images resized automatically

Florian Rival contact at oktopuce.fr
Mon Jun 8 12:31:51 CEST 2015


Hi everyone,

I have a problem with an image in a fluid template, the image is 
automatically resize and I don't want that.

Here is the Fluid code :

<a href="{v:site.url()}" tabindex="1">
     <f:image src="{f:uri.image(src: 
'EXT:myext/Resources/Public/images/logo.png')} " alt="Alt text"/>
</a>

and the result is :

<a href="http://xxx.com" tabindex="1">
     <img alt="Alt text" 
src="typo3conf/ext/myext/Resources/Public/images/logo.png" height="58" 
width="404">
</a>

Who have an idea where height and width are taken from ?

Thanks,
Florian



More information about the TYPO3-dev mailing list