Nggallery light-3 titles now link to url from description
authorLaury GvR <laury@gaslightmedia.com>
Thu, 14 Apr 2016 21:38:24 +0000 (17:38 -0400)
committerLaury GvR <laury@gaslightmedia.com>
Thu, 14 Apr 2016 21:38:24 +0000 (17:38 -0400)
nggallery/gallery-glmphotos-light-3.php

index a18f0ae..6a3e131 100644 (file)
@@ -74,15 +74,8 @@ Follow variables are useable :
                     $imageTitle = !preg_match(';is\d{2,}-\d{10,}-\d{5,}$;', $image->alttext) ? $image->alttext: '';
                     ?>
                    <div class="photoTitle"> 
-                    <a href="<?php echo nextgen_esc_url($image->imageURL) ?>"
-                        title="<?php echo esc_attr($image->description) ?>"
-                        data-src="<?php echo nextgen_esc_url($image->imageURL) ?>"
-                        data-thumbnail="<?php echo nextgen_esc_url($image->thumbnailURL); ?>"
-                        data-image-id="<?php echo esc_attr($image->pid); ?>"
-                        data-title="<?php echo esc_attr($image->alttext); ?>"
-                        data-description="<?php echo esc_attr($image->description); ?>"
-                        <?php echo $image->thumbcode ?> >
-                            <div title="<?php echo esc_attr($image->alttext) ?>"
+                        <a href="<?php echo esc_attr($image->description) ?>" target="_blank">
+                            <div title="Visit <?php echo esc_attr($image->alttext) ?>!"
                                 alt="<?php echo esc_attr($image->alttext) ?>">
                                 <?php if (!$image->hidden) { echo esc_attr($imageTitle); }?>
                             </div>