Quantcast
Channel: Toolset » All Posts
Viewing all articles
Browse latest Browse all 20145

Reply To: Display default image if no image

$
0
0

Never mind – Just changed some code and it worked :)

[wpv-if dirImg="featured-image-directory" evaluate="!empty($dirImg)"]<a class="pull-left thumbnail" href="[wpv-post-url]">[types field="featured-image-directory" size="thumbnail" align="left"][/types]</a>[/wpv-if]

[wpv-if dirImg="featured-image-directory" evaluate="empty($dirImg)"]<a class="pull-left thumbnail" href="[wpv-post-url]"><img width="150" height="100" src="http://wishphuket.com/wp-content/uploads/sites/3/2013/05/no-image-150x100.png" class="attachment-thumbnail alignleft" alt="" style="" title=""></a>[/wpv-if]

Viewing all articles
Browse latest Browse all 20145

Trending Articles