Nextgen template update
authorSteve Sutton <steve@gaslightmedia.com>
Tue, 28 Jul 2015 20:37:11 +0000 (16:37 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Tue, 28 Jul 2015 20:37:39 +0000 (16:37 -0400)
from they curren version of nextgen legacy template

nggallery/gallery-glmphotos.php

index ea37221..d2dc85b 100644 (file)
@@ -1,4 +1,4 @@
-<?php 
+<?php
 /**
 Template Page for the gallery overview
 
@@ -14,6 +14,7 @@ Follow variables are useable :
 ?>
 <?php if (!defined ('ABSPATH')) die ('No direct access allowed'); ?><?php if (!empty ($gallery)) : ?>
 
+<div class="ngg-galleryoverview" id="<?php echo $gallery->anchor ?>">
        <!-- Thumbnails -->
     <?php $i = 0; ?>
         <ul class="gallery row small-block-grid-2 medium-block-grid-3 large-block-grid-3">
@@ -31,7 +32,7 @@ Follow variables are useable :
                 data-description="<?php echo esc_attr($image->description); ?>"
                 <?php echo $image->thumbcode ?> >
                             <?php if ( !$image->hidden ) { ?>
-                        
+
                         <div class="image_overlay">
                             <img title="<?php echo esc_attr($image->alttext) ?>" alt="<?php echo esc_attr($image->alttext) ?>" src="<?php echo nextgen_esc_url($image->thumbnailURL) ?>" <?php echo $image->size ?> />
                         </div>
@@ -39,7 +40,7 @@ Follow variables are useable :
                             <?php } ?>
                     </a>
                 </div>
-                
+
             </div>
         </li>
        <?php if ( $image->hidden ) continue; ?>
@@ -51,5 +52,6 @@ Follow variables are useable :
        <!-- Pagination -->
        <?php echo $pagination ?>
 </ul>
+</div>
 
 <?php endif; ?>