[TYPO3-english] replacing cObject image by a different one

Henjo Hoeksma hphoeksma at stylence.nl
Thu Dec 10 11:06:30 CET 2009


On 2009-12-09 18:03:29 +0100, Jigal van Hemert <jigal at xs4all.nl> said:

> Hi,
> 
> Henjo Hoeksma wrote:
>> I would like to replace an image attached to a record in some occasions.
>> 
>> The current image is retrieved using this TS:
>> 
>>     image_stdWrap {
>>         setContentToCurrent = 1
>>         cObject = IMAGE
> (...)
>> 
>> What I need to achieve is that when putting the output together for a 
>> product with an image in the overlay images table, it retrieves the 
>> image from that table.
> 
> stdWrap.override ? If override is not empty the content will be 
> replaced with the content of override...
> 
> Regards, Jigal.

Hi Jigal,

Thanks for your reply.

I tried overriding, but can't figure out how to retrieve the 
alternative image. I tried finding some examples but couldn't find any.

Anyone?

Thanks.
Henjo
-- 
Stylence | webdevelopment in style
www.stylence.nl



More information about the TYPO3-english mailing list