You can pass multiple sizes through the thumbnail function printCustomAlbumThumbImage in template-functions.php. The function will give you a point of reference as to what parameters it takes. That way, you can use that function in your theme to display thumbs in whatever size you wish, and then have differing sizes in each index.php or album.php page. Does that make sense?
Again, i need this function but really don't know how to put it in place. I will have 3 different thumbnail size. 1 for Index.php, 1 for Album.php, 1 for Image.php.
I went to template-functions.php and try to figure it out.. my poor php skills does'nt help me. Can you ?
That give me the correct dimension but I'm still unable to get the next image to show as the Thumbnail for the next image...it present the same image as the main one. (in image.php)
`printCustomSizedImage` does only work within a `next_image` main loop or directly as a repacement for the one sized image on image.php. `getNextImageThumb()` itself returns url of the thumb of the next image.
Comments
Take a look at the template functions guide here: http://www.zenphoto.org/trac/wiki/TemplateFunctionsGuide
I went to template-functions.php and try to figure it out.. my poor php skills does'nt help me. Can you ?
Thank you
and
http://www.zenphoto.org/2008/04/how-to-read-the-zenphoto-functions-guide/
well, the closest solution I found is :
`
<?php if (hasNextImage()) { ?>
" title="Prochaine photo"><?php printCustomSizedImage(getNextImageThumb(), null, $ls?50:null, $ls?null:50); ?>
`
That give me the correct dimension but I'm still unable to get the next image to show as the Thumbnail for the next image...it present the same image as the main one. (in image.php)
what is the trick to do or to translate to php :
loop while currentImage = +1 ?
`
<?php while (next_image(true,0)): ?>
" alt="<?php echo getImageTitle(); ?>" title="<?php echo getImageTitle(); ?>">
<?php printCustomSizedImage(getImageTitle(), null, $ls?50:null, $ls?null:50); ?>
<?php endwhile; ?>
`