ez.no / ezpublish / documentation / customization / tips & tricks / howto see if article has an image
These documentation pages are no longer maintained. Please visit the new documentation site.
To show a standard image to n article that does not contain an image you can use this code:
{section show=is_object($content_version.data_map.thumbnail.content)}
{attribute_view_gui attribute=$content_version.data_map.thumbnail image_class=medium}
{section-else}
{/section}
Enjoy!!
Comments