Hello again.
I'm certainly missing something here but when I use printCustomAlbumThumbMaxSpace() to display a thumb per gallery inside gallery.php, the function returns a random image extracted from each gallery.
I don't know any way to specifie it to choose only the first image of each gallery...
Could you help me?
<?php while (next_album()): ?>
<div class="album">
<div class="thumb">
<a href="<?php echo htmlspecialchars(getFirstImageURL());?>" title="<?php echo gettext('>>:'); ?> <?php echo getBareAlbumTitle();?>">
<?php printCustomAlbumThumbMaxSpace(getBareAlbumTitle(), '800', '300', null, null, null); ?>
<div class="albumdesc">
<h3><?php printAlbumTitle(); ?></h3>
<?php echo truncate_string(getAlbumDesc(), 45); ?>
</div>
</a>
</div>
</div>
<?php endwhile; ?>