[TYPO3-english] Different wraps and width for each tt_news singleview image

Xatu Cans xatucans at gmail.com
Tue Nov 18 19:38:44 CET 2008

Hi, I used this code to give different wraps for each tt_news singleview 
image and it work perfect.

plugin.tt_news.displaySingle.imageWrapIfAny = |

    includeLibs.imageMarkerFunc = 

	plugin.tt_news {
  		# call user function
  		imageMarkerFunc = user_imageMarkerFunc
  		displaySingle {
  		imageWrapIfAny_0 =  <span class='img00'>|</span>
     		imageWrapIfAny_1 =  <span class='img01'>|</span>
     		imageWrapIfAny_2 =  <span class='img02'>|</span>


But now, I would like to assign different max widths to each one: I 
would like the image with img00 class to have 500px width and the images 
with img01 and img02 160px. Does anybody knows how can I do this?

More information about the TYPO3-english mailing list