1. 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

Discussion in 'Media Gallery Support' started by imthebest, Nov 20, 2014.

  1. imthebest

    imthebest Formerly Super120

    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?
  2. Chris D

    Chris D XenForo Developer Staff Member

    In xengallery_media_view, remove the Image class name:
    class="Image Tag Crop" alt="{$media.media_title}"
  3. imthebest

    imthebest Formerly Super120

    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?
  4. Chris D

    Chris D XenForo Developer Staff Member

    Just the word Image.

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

Share This Page