[TYPO3-commerce] Multile images on category
Brian Bendtsen
nightowl at galnet.dk
Tue Feb 5 09:44:02 CET 2008
Franz Koch skrev:
> 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
Hi Franz
I have tried split.max = 0, split.max = and #split.max but it makes no difference
/Brian
More information about the TYPO3-project-commerce
mailing list