Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2019-01-05 14:02:22

Gallex
Member
Registered: 2006-10-08
Posts: 1,109

Images with title

i use code below for displaying images with title:

<txp:if_article_image>
<txp:images>
<img src="<txp:image_url />" title='<txp:image_info type="caption" />' />
</txp:images>
</txp:if_article_image>

outputs:

<img src="http://koortikartul-ee.vserver.zonevs.eu/images/137.jpg" title="" id="exifviewer-img-2" exifid="-1068709366" oldsrc="http://koortikartul-ee.vserver.zonevs.eu/images/137.jpg">

the title tag is empty. take a look

Offline

#2 2019-01-05 14:20:27

Gallex
Member
Registered: 2006-10-08
Posts: 1,109

Re: Images with title

i forgot to fill image’s ‘caption’ field. :) jesus christ…

Offline

Board footer

Powered by FluxBB