Sunday 10 August 2003 8:29:29 am
I want to test if an article has an article in it. If it do not I want to put a standard image
{section name=show_image show=null($content_version.data_map.thumbnail.id)}
<img src={"standard.gif"|ezimage} width="190" height="136" />
{section-else}
{attribute_view_gui attribute=$content_version.data_map.thumbnail image_class=medium} {/section} I'm testing to see if thumbnail_object has an id. But it seems like it the thumbnail_object always has an ID, even if I dont put an image.... Is there a "correct" way to test if the article has an image?
|