6 Nisan 2014 Pazar

How to show get extract blogger first image in the post

Below xml snippet will call the first image in a blogger post

XML 
<b:if cond='data:post.firstImageUrl'>
 <img expr:src ="data:post.firstImageUrl" expr:alt="data:post.title"/>
 </b:if>

0 yorum:

Yorum Gönder