Sử dụng 1 trong 2 đoạn code dưới đây
Code 1
<!-- Blogger có thumbnail nguồn blogspot -->
<b:if cond='data:post.isFirstPost == "true"'>
<b:if cond='data:post.thumbnailUrl'>
<img expr:alt='data:post.title' expr:src='data:post.thumbnailUrl' height='72' width='72'/>
<b:else/>
<img expr:alt='data:post.title' height='72' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjDZR6A0UaHyfPEP2gEDCN3LJ3FuxRigypJn0qMz00cwvunLHJpQ7Ko7DePV-mT2XtpvzYyfZQri-4Rch7XB1GhJ1aryu40gqFWxKCLPhhwC_k86J43ZRBXsgPMcja9sLPRlGy5jU4kj6DJ/' width='72'/>
</b:if></b:if>
Code 2
<!-- Blogger có thumbnail nguồn ngoài -->
<b:if cond='data:post.isFirstPost == "true"'>
<b:if cond='data:post.firstImageUrl'>
<img expr:alt='data:post.title' expr:src='data:post.firstImageUrl' height='72' width='72'/>
<b:else/>
<img expr:alt='data:post.title' height='72' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjDZR6A0UaHyfPEP2gEDCN3LJ3FuxRigypJn0qMz00cwvunLHJpQ7Ko7DePV-mT2XtpvzYyfZQri-4Rch7XB1GhJ1aryu40gqFWxKCLPhhwC_k86J43ZRBXsgPMcja9sLPRlGy5jU4kj6DJ/' width='72'/>
</b:if></b:if>
Chỉ hiện thị ảnh đầu tiên cho blogger

3.5
20
2 nhận xét