<txp:if_article_image /> container tag, 0 attributes


The if_article_image tag is a conditional tag and always used as an opening and closing pair, like this…

...conditional statement...

The tag will execute the contained statements if an image is associated (through the article image field) with the article being displayed.


Version 4.2.0

  • Added as a new tag
<txp:if_article_image /> 1 examples

Display default image if no article image exists

	<txp:article_image />
<txp:else />
	<txp:image id="5" />

Other tags used: article_image, else, image