Light box for featured image

Posted in: Newspaper
Post count: 3

Hi Bogdan,
Is it possible to set the featured image to lightbox that appears in a block (on landing page)
Or do we need to use a 3rd party plugin

Regards
Rana

Post count: 22421

Hello,
If you have the general modal image active, then depending on the post style you use, it will open in a lightbox: http://screencast.com/t/gLrqlrdW4L
But this does not apply on all post styles. Some are not clickable so there is no link at all on the featured image (in this case no lightbox as well) Please check this option on multiple post styles to see how it works.
You can see this on our live demo. On this post template the featured image opens in a lightbox: http://demo.tagdiv.com/newspaper/120-er-visits-linked-synthetic-wordpress-nyc-past-week/
but this one does not: http://demo.tagdiv.com/newspaper/td-post-the-new-screen-savers-the-show-that-launched-video-into-the-stratosphere/
Thank you!

Post count: 3

Thanks a lot Bogdan,

What I was exactly looking was if a page has a block with a featured image of a post & if that featured image is clicked as in http://www.screencast.com/t/lNJUrPI67e it should open it as a lightbox shown in http://www.screencast.com/t/JoWkI3y0

Thanks again
Rana

Post count: 22421

Hello Rana,
Unfortunately blocks were not designed to work like that. The block shows the featured image and the excerpt of the post and if the image or title is clicked, it will open the post, not the image itself. Unfortunately in this situation, the plugin solution does not work as well as our blocks are custom made so plugins cannot recognize the code. If you wish to change this behavior, you will have to hire a freelancer to help out as the code will have to be modified in order to achieve this.
Thank you!

Post count: 3

Thanks again Bogdan,

I have two queries

1. Does this feature work in Newsmag so that I can buy and use Newsmag.

2. Could you please kindly give a pointer to the files and rough location of the code that needs to be modified.

With regards
Rana

Post count: 22421

Hello,

1) The newsmag theme works the same way. You can check them both in our live demos here:
http://demo.tagdiv.com/newspaper/
and
http://demo.tagdiv.com/newsmag/
2) If you wish to change the behavior of the image when clicked, you will have to edit this file:
http://screencast.com/t/i3XwLCMiij7

Thank you!

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