AnsweredAssumed Answered

Script to insert image into container field

Question asked by satinder on Dec 16, 2008
Latest reply on Dec 21, 2008 by satinder

Title

Script to insert image into container field

Post

I have 2 container fields in my database. In the first field, called "high res", I insert a high resolution image. In the second field, called "low res", I insert a low resolution image. The image is of the same thing. I want to create a layout using these images as follows:


If the high res field contains an image, then I want the high res image inserted. If the high res field does not contain an image, then I want the low res image inserted. I'm guessing I need to write a script to do this but I couldn't figure out what script commands to use. I would appreciate some guidance in how to write a script to do this.

 

Thank you.

Outcomes