Featured Image Placeholder for Query Loop when Featured Image is Missing

In the query loop, how do I add a placeholder featured image when the featured image is missing?

Currently, when there is no featured image, the query loop returns the following:

I want the posts without featured image to look like this:

Hi @pyoil,

One option is to use a Container Block instead to retrieve the image. The container block allows to set a fallback image.

I think this post shows you a way (with a small code snippet) to implement a fallback image.

I just tried this, I use a container block with a background image and in the container block I add an image with the Dynamic Data, it seems to work.

1 Like