FeedOtter Logo Standard

Help & Support

Written by
Andy Theimer

Creating a Default Image That Shows If a Post Does Not Have an Image

Published on
June 12, 2020
[% if post.image_url %]
<img src="[[post.image_url]]">
[% else %]
<img src="http://placehold.it/600x400">
[% endif %]


[[ (post.image_url) ?: "http://placehold.it/600x400"]]