Viewing 1 replies (of 1 total)
  • Thread Starter flandero

    (@flandero)

    did by myself, as usual, i’m everytime too hurry to wait for an answer ??
    this is my album-compact.php loop, now

    <?php if (!defined ('ABSPATH')) die ('No direct access allowed'); ?><?php if (!empty ($galleries)) : ?>
    
    <div class="ngg-albumoverview">		
    
    <!-- List of galleries -->
    <?php for ($i = 5; $i >= 0; $i--) { $q = $album->gallery_ids[$i];
    if ($q > 0) {
    $gallery = $galleries[$q];
    
    echo "<div class=\"ngg-album-compact\">
    	<div class=\"ngg-album-compactbox\">
    	<div class=\"ngg-album-link\">
    	<a class=\"Link\" href=\"".$gallery->pagelink."\">
    	<img class=\"Thumb\" align=\"center\" alt=\"".$gallery->title."\" src=\"".$gallery->previewurl."\"/>
    	</a>
    	</div>
    	</div>
    	<a class=\"ngg-album-desc\" title=\"".$gallery->title."\" href=\"".$gallery->pagelink."\">".$gallery->title."</a>
    	<p>".$gallery->counter." Immagini</p>
    	</div>";}
    
    }?>
    
    </div>
    
    <?php endif; ?>

    hope would be useful, it show the latest 6 galleries in the album.
    enjoy =)

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: NextGEN Gallery] "max" in album view’ is closed to new replies.