adding page link to the thumbnail in the nextgen gallery template
authorAnthony Talarico <talarico@gaslightmedia.com>
Thu, 15 Sep 2016 20:04:29 +0000 (16:04 -0400)
committerAnthony Talarico <talarico@gaslightmedia.com>
Thu, 15 Sep 2016 20:04:29 +0000 (16:04 -0400)
nggallery/gallery-glmphotos-light-3.php

index 591bf22..d7924cd 100644 (file)
@@ -37,7 +37,7 @@ Follow variables are useable :
                        data-title="<?php // echo esc_attr($image->alttext); ?>"
                        data-description="<?php // echo esc_attr($image->description); ?>" style='background-image:url("<?php // echo nextgen_esc_url($image->thumbnailURL) ?>");'>
                     </a>
-
+                    <?php //echo nextgen_esc_url($image->imageURL) ?>
                 <hr>
                 </div>
             </div>-->
@@ -53,7 +53,7 @@ Follow variables are useable :
                        $validlink = true;
                     } ?>
                 <div class="ngg-gallery-thumbnail" >
-                    <a href="<?php echo nextgen_esc_url($image->imageURL) ?>"
+                    <a href="<?php echo $innerdescription ?>"
                        <?php if ($validlink) { ?>
                        title="Visit  <?php echo esc_attr($image->alttext) ?>"
                        <?php } else { ?>