[TYPO3-commerce] Multile images on category

Franz Koch typo.removeformessage at fx-graefix.de
Fri Feb 1 15:27:57 CET 2008


Hi Brian,

> I found this TS in this group concerning multiple images per product and 
> it works fine
> 
> lib.tx_commerce.products.fields {
...
>  teaserimages >
>  teaserimages < .images
>  teaserimages {
>    # only render 1 image, to limit the optionsplit to 1
>    split.max = 1
>    split.1.10 {
>        # alter rendering for teaser image
>        file {
>            width = 140m
>            height = 105m
>            maxW = 140
>            maxH = 105
>        }
>        wrap >
>        # don't apply clickenlarge
>        imageLinkWrap >
>    }
>  }
> }
looks like my TS :)

> I would also like to be able to display multiple images per category and 
> therefore added this to my TS:
> 
> plugin.tx_commerce_pi1.listView {
>    categories.fields.images < .products.fields.teaserimages    }
> 
> But it has no effect, if I add more than one image to a category no 
> image(s) is shown.

have a closer look at the TS of the teaserimages. You will notice, that 
there is set 'split.max = 1', which limits the display to only 1 image. 
Simply unset the 'max' property and it should work (I at least think so).

--
Greetings,
Franz


More information about the TYPO3-project-commerce mailing list