Remove image click to "gallery"

Posted in: Newspaper
Post count: 13

Hey there,

Every image on the site is “clickable” and a pop-up zoom of the image shows up. Is there a way to remove the clickthrough so that none of the images on the posts are clickable?

Post count: 7909

Hi,

Do you refer to the lightbox feature on galleries?

Please try to remove this code to disable lightbox for tagdiv galleries – http://screencast.com/t/OLjyKBFL
Also for default gallery – http://screencast.com/t/YB6xcfZzUjhttp://screencast.com/t/OkWLdkc4g0m
If you use speedbooster you will have to delete the code from – http://screencast.com/t/kDXKit5I2diY

Please provide more details if this is not what you mean.

Thanks!

Post count: 13

Hey there,

I deleted the codes but the lightbox is still showing up on the image click:
http://unyawn.com/top-8-dumpling-places-in-america/

I don’t think I’m using speedbooster so I didn’t remove that one. Can you clarify what lines I’m supposed to remove there?

Post count: 7909

Hi,

Here you don’t use a gallery this is a smart list. Try to comment this line – http://screencast.com/t/qTYJi6TW and see if it works.

Thanks!

Post count: 13

Thanks for the help Alin!

The lightbox is now gone but instead now when I click on the image it goes directly to the image even though I removed the URL.

How can I completely remove the click-through image link?

Post count: 7909

Hi,

Please try this custom css in Theme Panel > Custom Css:

.td-sml-link-to-image {
pointer-events: none;
cursor: default;
}

Thanks!

Post count: 13

Hey Alin,

Got it! It’s not removed on lists but it the lightbox still pops up on regular posts: http://unyawn.com/the-dangers-of-eating-too-much-restaurant-food/

Post count: 7909

Hi,

Please make sure that you disable lightbox for featured images – http://screencast.com/t/3j4PoMa8P and also make sure that you disable general modal image is disabled from Post Settings – http://screencast.com/t/4MdtDh0tzGg so it will be applied the individual settings of an image post. Make sure that for each image that you add to your post content the modal image is off – http://screencast.com/t/Fx9Vdll8Qqhttp://screencast.com/t/nxbXA0oWc

Thanks!

Post count: 13

Awesome, that did it for the regular post!

For lists, is there another way to remove the clickthrough to image link aside from using the custom css below?

I have a plugin where if a user points their cursor over a photo, a share button pops up on the left of the image and the css actually removes that. http://unyawn.com/biggest-fails-of-the-week-071415/

.td-sml-link-to-image {
pointer-events: none;
cursor: default;
}

Post count: 7909

Hi,

If you want to remove the link from the image you can do this for each smartlist – http://screencast.com/t/tZIICCAQRLa

Thanks!

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