Don't want light-box for images

Posted in: Newspaper
Post count: 36

Hi

I use a custom attachment page to show images from galleries eg: http://blog.saijogeorge.com/minimalist-superhero-supervillain-wallpapers-windows-phone-android/

the images link to the attachment page but when I click on them the theme tried to load it via light box which I do not want, I just want the attachment page to load up.

Post count: 6600

Hi,

You have to Edit your gallery and set it to link to Media in order to get the images in when you click on them in the post.
You can use the Theme Panel to disable the light box for the featured image http://screencast.com/t/cEgYQV3t
It’s not simple to disable the light box, unfortunately there is no option for this and to disable it you’ll have to change the code.

Sorry for this
Thanks

Post count: 36

perhaps you did not understand, what I was trying to say.

My issue with light-box is not for featured images but rather for images in galleries: see this post for example : http://blog.saijogeorge.com/minimalist-superhero-supervillain-wallpapers-windows-phone-android/

if you hover over the first image you can see that it links to http://blog.saijogeorge.com/minimalist-superhero-supervillain-wallpapers-windows-phone-android/aqua-man-minimal-grunge/ , but if I clik on the image the theme tried to load up the light box, why is a lightbox coming up when I am trying to open up a page?

Post count: 6600

Hi,

Sorry about this, to disable the light-box on your gallery you have to remove this code here: http://screencast.com/t/9JcqGKdey
Should solve the problem.

Thanks

  • This reply was modified 12 years by Lucian.
Post count: 36

that did it, thanks 🙂

Post count: 220

In my case when i the Plugin speed booster Plugin is active its using this .js file

Newspaper/js/min/site.min.js?ver=4.3′

In normal condition its using this /.js file

Newspaper/js/full_compact/site.js?ver=4.3′

Any help ..??

Post count: 6600

Hi,

That is what speed booster plugin dose, it’s using minified js to speed up your site.
You need to remove the js for the light box from the site.min.js also, I have posted the solution for this here: https://forum.tagdiv.com/topic/imagebrowser-not-loading/#post-22357

Thanks

Viewing 7 posts - 1 through 7 (of 7 total)
You must be logged in to reply to this topic.