[TYPO3-english] Different wraps and width for each tt_news singleview image
Steffen Gebert
steffen at steffen-gebert.de
Tue Nov 18 19:43:11 CET 2008
Xatu Cans wrote:
> 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 =
> 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?
Please no cross-postings!
Steffen
More information about the TYPO3-english
mailing list