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

Sergio Catalá scatala.enet at gmail.com
Mon Jan 19 10:38:55 CET 2015


Thank you, Markus. I don't know why I tried this before but didn't work
with "maxWidth" parameter. Maybe some mispelling. Now it's ok.
Thanks!
Sergio

On 16 January 2015 at 22:19, Markus Klein <klein.t3 at reelworx.at> wrote:

> 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
>
> _______________________________________________
> 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