Hi!

Christoph Daecke wrote:

<span data-srcset="{f:uri.image(src:column.media.properties.uid, treatIdAsReference:1, 
width:1200c, height:600c)}, {f:uri.image(src:column.media.properties.uid, treatIdAsReference:1, 
width:2400c, height:1200c)} 2x"></span>

Wenn Du jetzt noch

{f:uri.image(image:column.media, width:1200c, height:600c)}

dann ist es noch hübscher.

Und damit:

{f:uri.image(image:column.media, width:1200c, height:600c) -> f:format.htmlspecialchars()}

Stellst Du sicher, dass die URLs zu den Bildern auch immer richtig encodiert sind.

Viele Grüße,
Helmut

--
Helmut Hummel
Release Manager TYPO3 6.0
TYPO3 CMS Active Contributor, TYPO3 Security Team Member

TYPO3 .... inspiring people to share!
Get involved: typo3.org
_______________________________________________
TYPO3-german mailing list
TYPO3-german@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german

Antwort per Email an