Forums

[Plugin: NextGEN Gallery] Remove link from gallery images (4 posts)

  1. shakingpaper
    Member
    Posted 2 years ago #

    Hi there,

    I have a gallery setup and am only showing the images at their original size - no effects added. I would like it so the image isn't clickable. I achieved this for thumbnails by removing the 'a' tags from the related php code in view/gallery.php but all i can see for the imagebrowser.php is:

    <div class="pic"><?php echo $image->href_link ?></div>

    I am thinking I need to change the href_link part but don't know to what. Any help would be great.

  2. jempa
    Member
    Posted 2 years ago #

    Did you find a solution for this?

    I would like to do the same.

  3. kasxx
    Member
    Posted 2 years ago #

    Hey, I had the same problem, and have just solved it!

    Orig:
    <div class="pic"><?php echo $image->href_link ?></div>

    Replace with:
    <div class="pic"><img src="<?php echo $image->imageURL ?>" /></div>

  4. alikii
    Member
    Posted 2 years ago #

    That's cool!! It works............ Thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.