thumb images don't show correctly...

Hey!

I have an issue that I'm stuck on and I can't figure it out.
I would like to display image thumbnails from my first sub-album on the same page as a list my sub-albums.

I managed to do it only this way. (this is a structure I created via ftp)

[folder]album1
- image1.1.1 (an image from sub-album 1.1)
- image1.1.2 (an image from sub-album 1.1)
- image1.1.3 (an image from sub-album 1.1)
- [folder]sub-album 1.1
- [folder]sub-album 1.2
[folder]album2
- [folder]sub-album 2.1
- [folder]sub-album 2.2
[folder]album3

However, the thumbnails do not show properly. I can only see 12 thumbnails on the first view page, and 18 on the second view page even though there should be 20 thumbnails displayed and I don't know how to fix it.

I'm aware of the $firstPageImages = normalizeColumns('5', '4'); (variable/function) and I have used it in the album.php file (under ../themes/mystyle/album.php)...

<?php if (!defined('WEBPATH')) die();
$themeResult = getTheme($zenCSS, $themeColor, 'light');
$firstPageImages = normalizeColumns('5', '4');
?>

<!-- IMAGE THUMBNAILS START -->
<div id="images">
<?php while (next_image(false, $firstPageImages)): ?>
<div class="image">
<div class="imagethumb">

<a class="x2"
href="<?php echo getImageLinkURL();?>"
title="<?php echo getImageTitle();?>">
<div>
<?php printImageThumb(getImageTitle()); ?>
</div>

</div>
</div>
<?php endwhile; ?>
</div>
<!-- IMAGE THUMBNAILS END -->

Any help or suggestions would be appreciated!

Thanks in advance!
Sign In or Register to comment.