[TYPO3-shop] GIFBUILDER - images, regular IMAGE cObject?
Maarten ten Brinke
mtenbrinke at sundayafternoon.nl
Thu Mar 26 09:19:15 CET 2009
Hi List,
I was wondering if I can use the GIFBUILDER to change the images in for
example the single view. From the documentation I read that the images
are regular IMAGE cObjects, so I would think that the TS below would
work. Is there anything I do wrong here?
Thanx
Maarten
====
plugin.tt_products.image = IMAGE
plugin.tt_products.image {
file = GIFBUILDER
file {
XY = [10.w],[10.h]
10 = IMAGE
10 {
# Background image
file.import.current = 1
file.maxW.field = {$plugin.tt_products.maxW_single}
file.maxH.field = {$plugin.tt_products.maxH_single}
}
# top
15 = BOX
15.dimensions = 20,0,[10.w]-40,7
15.color = #FFCDC7
# bottom
16 = BOX
16.dimensions = 20,[10.h]-7,[10.w]-40,7
16.color = #FFCDC7
# left
17 = BOX
17.dimensions = 0,20,7,[10.h]-40
17.color = #FFCDC7
# right
18 = BOX
18.dimensions = [10.w]-7,20,7,[10.h]-40
18.color = #FFCDC7
30 = IMAGE
30.file = {$imagePath}topLeft.png
30.align = l,t
31 = IMAGE
31.file = {$imagePath}topRight.png
31.align = r,t
32 = IMAGE
32.file = {$imagePath}bottomLeft.png
32.align = l,b
33 = IMAGE
33.file = {$imagePath}bottomRight.png
33.align = r,b
}
}
More information about the TYPO3-project-tt-products
mailing list