Title: techweb's Replies | WordPress.org

---

# techweb

  [  ](https://wordpress.org/support/users/techweb/)

 *   [Profile](https://wordpress.org/support/users/techweb/)
 *   [Topics Started](https://wordpress.org/support/users/techweb/topics/)
 *   [Replies Created](https://wordpress.org/support/users/techweb/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/techweb/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/techweb/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/techweb/engagements/)
 *   [Favorites](https://wordpress.org/support/users/techweb/favorites/)

 Search replies:

## Forum Replies Created

Viewing 1 replies (of 1 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Photo Gallery, Sliders, Proofing and Themes - NextGEN Gallery] [Plugin: NextGEN Gallery] How to disable link to original image](https://wordpress.org/support/topic/plugin-nextgen-gallery-how-to-disable-link-to-original-image/)
 *  [techweb](https://wordpress.org/support/users/techweb/)
 * (@techweb)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-how-to-disable-link-to-original-image/#post-1888314)
 * I “abused” the description property of the gallery.
    Code adjustment in view/
   gallery.php:
 *     ```
       <div class="ngg-gallery-thumbnail" >
         <?php if ($gallery->description != 'nolink') { ?>
           <a href="<?php echo $image->imageURL ?>" title="<?php echo $image->description ?>" <?php echo $image->thumbcode ?> >
         <?php } ?>
         <?php if ( !$image->hidden ) { ?>
           <img title="<?php echo $image->alttext ?>" alt="<?php echo $image->alttext ?>" src="<?php echo $image->thumbnailURL ?>" <?php echo $image->size ?> />
         <?php } ?>
         <?php if ($gallery->description != 'nolink') { ?>
           </a>
         <?php } ?>
       </div>
       ```
   

Viewing 1 replies (of 1 total)