[TYPO3-english] flux and fed with image preview in BE

Alexander Dick typo3 at dick.at
Thu Jul 19 14:57:47 CEST 2012


Hi,

I solved it this way:

<img src="/{f:uri.image(src:'uploads/tx_foo/{image}', maxWidth: 100, 
maxHeight: 100)}" alt="" />

cheers
Alex


Am 23.03.2012 19:03, schrieb Victor Livakovsky:
> Hi, List.
>
> I've started using flux + fed extensions as alternative to TV FCE. It
> going slowly, but I like it much! :)
> The only problem I have so far is image preview generation in BE.
> The code:
> <f:section name="Preview">
> Image: <f:image src="{slideImage}" alt="image" />
> </f:section>
>
> Output is:
> <img src="../fileadmin/template/pics/slide.png" alt="image" />
> And this is not correct, because server tries to find following image by
> this path: domain.tld/typo3/sysext/cms/fileadmin/template/pics/slide.png
> - and that is not correct.
> Is it bug of an extension or I'm doing something worng?
>
> Right now I've made a following workaround:
> <f:section name="Preview">
> Image: <img src="../../../{f:uri.image(src: '{slideImage}')}"
> alt="image" />
> </f:section>
>
> That produces correct output, but not so ellegant.
> So, is there any better way to generate preview image?
>
>
> And another question about flux + fed: can I develop simple plugins with
> list + single view without developing of my own extension, but with only
> TS and fed? If so, are there any hints or examples?



More information about the TYPO3-english mailing list