[TYPO3-shop] markers for individual images in template

Franz Holzinger franz at fholzinger.com
Fri Jul 11 13:17:03 CEST 2008


Juan Pablo Villaverde a écrit :
> You mentioned the possibility of custom sizes for each product image using 
> PRODUCTS_IMAGE:1, PRODUCTS_IMAGE:2, etc.
> How can this be done? Please publish the required typoscript.
> 

You must use the image markers correctly:


###PRODUCTS_IMAGE1###

Use the colon to have a separate image setup:

###PRODUCTS_IMAGE1:MYSETUP###

And in the setup you can have for the tt_products table with all codes:

plugin.tt_products.conf.tt_products.ALL.image.mysetup {
  wrap = |<br />
  file.maxW = 320
  file.maxH = 280
}


Franz


More information about the TYPO3-project-tt-products mailing list