[Flow] TYPO3.Imagine in TYPO3 Flow

Aske Ertmann aske at moc.net
Thu Feb 12 12:18:29 CET 2015


Hi Patric

First Fluid in Flow doesn’t have any image view helper. That is provided by the TYPO3.Media package.

So you need to require that package and then use media:image and remember to import the media namespace in the Fluid template.

Lastly the format of 100c is a TYPO3 CMS thing. Have a look at the view helper class to see the arguments.

Hope it helps.

Cheers,
Aske

> On 12 Feb 2015, at 11:23, Patric Eckhart <mail at patriceckhart.com> wrote:
> 
> Hey,
> 
> I have started a new TYPO3 Flow project and i would like to resize my images. I´ve installed TYPO3.Imagine
> but it does not work.
> 
> In my Fluid template I have added this line: <f:image src="{f:uri.resource(resource: article.image)}" width="100c" height="100c" />
> In Frontend i got this error: The ViewHelper "<f:image>" could not be resolved.
> 
> Can you help me?
> _______________________________________________
> Flow mailing list
> Flow at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/flow



More information about the Flow mailing list