[TYPO3-english] Adding class attribute to an img tag

Ralf-Rene Schröder ralf.rene at online.de
Thu Sep 11 19:17:03 CEST 2014


for me (in 6.2.4) the following works...

with:
tt_content.image.20.addClassesImage = csc-textpic-first something |*|
something |*| csc-textpic-last something
you add the class to the surrounding div !!!

with:
tt_content.image.20.1.params = class="something"
every image tag directly get's the class

BUT: a class for EVERY image makes no sense !!!



-- 
image[FORMAT] - Ralf-René Schröder
http://www.image-format.eu ... Wir geben Ihrem Image das richtige Format


More information about the TYPO3-english mailing list