Forums / Setup & design / image path / Comment15659

Author Topic

Guglielmo Celata

Wednesday 19 May 2004 6:00:29 am

Comment15659

Hi Valentina,
it's a weird thing this thing that you want to do.

Really, there's no such thing as a unique path for a dynamic image.
You have images stored in the var/ directory on the file system, and the real path depends from the image class that you choose.
If you want a small image, or a thumb, then the path will be different.

Anyway, supposing you want the path of the thumb, what you need is:

 <input type='image' name='xxx' value='yyy' 
        src={$Child:item.object.data_map.thumbnail01.content.thumb.url}>

Of course, you'll change thumb into whatever you like
(small, medium, or something else, if you have defined it)

By the way, you can always have fun by looking at

 {$Child:item.object.data_map.thumbnail01|attribute(show)}

which will show you a certain amount of info.

Ciao,
Guglielmo