Fixing the video gallery nextgen
authorLaury GvR <laury@gaslightmedia.com>
Tue, 26 May 2015 20:13:05 +0000 (16:13 -0400)
committerLaury GvR <laury@gaslightmedia.com>
Tue, 26 May 2015 20:13:05 +0000 (16:13 -0400)
nggallery/gallery-glmvideos.php

index 367627d..95d6bb3 100644 (file)
@@ -14,18 +14,10 @@ Follow variables are useable :
 ?>
 <?php if (!defined ('ABSPATH')) die ('No direct access allowed'); ?><?php if (!empty ($gallery)) : ?>
 
-<ul id='gallery' class='gallery row small-block-grid-2 medium-block-grid-3 large-block-grid-4'>
-<?php if ($gallery->show_slideshow) { ?>
-       <!-- Slideshow link -->
-       <div class="slideshowlink">
-               <a class="slideshowlink" href="<?php echo nextgen_esc_url($gallery->slideshow_link) ?>">
-                       <?php echo $gallery->slideshow_link_text ?>
-               </a>
-       </div>
-<?php } ?>
-       <!-- Thumbnails -->
-    <?php $i = 0; ?>
-       <?php foreach ( $images as $image ) : ?>
+        <!-- Thumbnails -->
+    <?php $i = 0; ?>    
+    <ul class="gallery row small-block-grid-2 medium-block-grid-3 large-block-grid-4">
+       <?php foreach ( $images as $image ) : ?>
        <li>
             <div id="ngg-image-<?php echo $image->pid ?>" class="ngg-gallery-thumbnail-box imgBorderMe" <?php echo $image->style ?> >