{if $datas.IMGNAME!="" and $datas.SHOWNAME=="o"}{$datas.IMGNAME}
{/if}
{* No strip_tags because comment could have those for good reasons *}
{* Over comment is limited to 127 characters for look only *}
{if $datas.IMGCOMMENT!="" and $datas.SHOWCOMMENT=="o" and strlen($datas.IMGCOMMENT) < 128}{$datas.IMGCOMMENT}
{/if}
{if $datas.IMGNAME!="" and $datas.SHOWNAME=="u"}
{$datas.IMGNAME}{/if}
{* Under comment is limited to 255 characters *}
{if $datas.IMGCOMMENT!="" and $datas.SHOWCOMMENT=="u" and strlen($datas.IMGCOMMENT) < 256}
{$datas.IMGCOMMENT}{/if}