[TYPO3-commerce] every IMG a own css-class

Arno Pfeuffer arno.pfeuffer at gmx.net
Tue Apr 8 09:24:18 CEST 2008


Hi,
is it possible to give every image a own css class?

For examle: I load three images in the image-section of a product. In 
the FE the images are rendered only with <img />. With..

    lib.tx_commerce.products.fields.images.wrap = <p>|</p>

...I can get every html-tag I want.

It would be nice, mayby for the first <img>, when I could set a 
different css-class as for the second and following images.

Know everyone a solution for this problem?
Thanks
Arno


More information about the TYPO3-project-commerce mailing list