Wednesday 25 February 2004 2:16:03 am
With Thumbnail you mean an image? Right? You know it might also be an image size. Well if it is an image then use this to display it.
{* Check to see if there is an actual image *}
{section show=$node.data_map.thumbnail.content.is_valid}
{* There is an image display it *}
{attribute_view_gui attribute=$node.data_map.thumbnail image_class=small} {/section}
OR alternatively you could use
{section show=$node.data_map.thumbnail.content.is_valid}
<img src={$node.data_map.thumbnail.content.small.url|ezroot} /> {/section} Note: "small" is an image filter used to resize the image to size small, i.e. image_class=small and content.SMALL.url, could very well be content.large.url depending upon your filters defined in override/image.ini.append
cheers Tore
|