How to make Single Post BG Featured Image clickable with modal image viewer

Posted in: Newspaper
Post count: 110

Hi there. In an old version of Newsmag we use on an old site, clicking on the feature photo on a post pulls up the full version in a modal viewer (just like when clicking images in the post itself).

In Newspaper the Single Post BG Features Image element doesn’t seem to be clickable to be viewed in the modal viewer. This is the element: https://i.imgur.com/G8EUIt4.png

What can be done to make it clickable and open with the modal viewer?

Post count: 35449

Hi,

To have this option you’ll need to replace the Single Post BG Featured Image with Single Post Featured Image, the first one set the image with css as a background and the second shortcode set the image using html img and will provide the option you need – https://i.imgur.com/amxBChg.png

Thank you!

Post count: 110

Thanks this is exactly what I was looking for!

I see that Single Post Featured Image doesn’t have an “image height” option to define the aspect ratio (while the BG version does). Will the element automatically use the aspect ratio of the image itself?

Post count: 35449

Hi,
Yes, it comes automatically depending on the size of each image.
Thank you!

Viewing 4 posts - 1 through 4 (of 4 total)
The forum ‘Newspaper’ is closed to new topics and replies.