• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Disable clicking on album pictures

imthebest

Well-known member
#1
When viewing an album picture (gallery/picture_name.123) I can click on the photo and a Lightbox starts. I want to make the photo unclickable so no Lightbox at all.

How I can do this, please?
 

Chris D

XenForo developer
Staff member
#2
In xengallery_media_view, remove the Image class name:
Code:
class="Image Tag Crop" alt="{$media.media_title}"
 

imthebest

Well-known member
#3
What do I need to remove? The entire code snippet or just the red "Image"?

By the way I tried both ways and the end result is that when I hover my mouse over the album picture the mouse changes to a hand... it should stay as a regular cursor, not a hand.

Maybe I'm doing something wrong?
 

Chris D

XenForo developer
Staff member
#4
Just the word Image.

To change the cursor. EXTRA.css:
Code:
.hasJs .mediaContainer .imageContainer img
{
    cursor: default!important;
}