[Flow] fluid: get src of image returned and not whole img html element
jaco graaff
jaco at spacexplorer.co.za
Mon Jun 24 01:06:14 CEST 2013
In the rendering template of fluid I can iterate through a array of images
<f:for each="{field.image}" as="image" iteration="imageIteration">
<f:image src="fileadmin/uploads/{image.url}"
width="1400px" height="900px"
alt="{image.title}"/>
</f:for>
f: image returns a img html element
<img src="typo3temp/_processed_/csm_test_002_01_fdb794d601.jpg" width="210"
height="120" alt="" />
-------------
BUT
------------
I want "unsupported attributes in my img element
EXAMPLE:
<img src="typo3temp/_processed_/csm_test_002_01_fdb794d601.jpg"
data-thumb="typo3temp/_processed_/csm_test_002_01_fdb794d601_thumb.jpg"
data-caption="#htmlCaption1"/>
----------------------
What should I use instead of
<f:image
to get the SRC
because <f:image takes care of rendering the image in the specified
resolution etc...
----------------------
thanks
More information about the Flow
mailing list