[TYPO3-shop] fetching image - single view
Andrea Giorgini
a.giorgini at norvlit.de
Wed Nov 29 13:19:05 CET 2006
Hi,
I am trying to fetch the product image:
temp.PIM = CONTENT
temp.PIM {
table = tt_products
wrap = |
select {
pidInList = 24,28
# Set the language field
#languageField=sys_language_uid
selectFields = image
where = uid=GPvar:tt_products
}
renderObj=COA
renderObj {
5=IMAGE
5{
# only output it if not empty
#required=1
wrap=|
file.import=uploads/pics/
file.import.field=image
file.width=100
file.height=100
}
}
}
I guess the problem is the where clause.
How can I do that?
Thx a lot
Andrea
More information about the TYPO3-project-tt-products
mailing list