[TYPO3-english] fluid tags f:uri.image and f:image on 6.2

Markus Klein klein.t3 at reelworx.at
Fri Jan 16 22:19:34 CET 2015


Hi!

I'd simply go for: <f:image src="{settings.upload_path}{data.image}" maxWidth="105" alt="{data.header}" />

Kind regards
Markus

------------------------------------------------------------
Markus Klein
TYPO3 CMS Active Contributors Team Member

> -----Original Message-----
> From: typo3-english-bounces at lists.typo3.org [mailto:typo3-english-
> bounces at lists.typo3.org] On Behalf Of Sergio Catalá
> Sent: Friday, January 16, 2015 4:47 PM
> To: TYPO3 English
> Subject: [TYPO3-english] fluid tags f:uri.image and f:image on 6.2
> 
> Hi list,
> 
> I have upgraded Typo3 from 6.1 to 6.2 and the next line stopped working:
> 
> <f:image src="{f:uri.image(src: '{settings.upload_path}{data.image}',
> maxWidth: '105')}" alt="{data.header}" />
> 
> It throws an error like this when it must resize the image (as far as I
> understood):
> 
> #1382687163: Supplied file object type
> TYPO3\CMS\Extbase\Service\ImageService must be File or FileReference.
> 
> Any hints how I should update this fluid tag?
> 
> Thanks in advance,
> Sergio
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english



More information about the TYPO3-english mailing list