[TYPO3-ttnews] Different wraps and width for each image

Xatu Cans xatucans at gmail.com
Tue Nov 18 19:36:13 CET 2008


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


plugin.tt_news.displaySingle.imageWrapIfAny = |

    includeLibs.imageMarkerFunc = 
EXT:tt_news/res/example_imageMarkerFunc.php

	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-project-tt-news mailing list