I know you can resize the album thumbnail but I just don't know how! If I edit thumb_size in config.php it resizes my image thumbnails but not my album thumbnails.
I know it's possible because it's in the stopdesign theme!
Can anybody help me out?
Otherwise, loving Zen Photo so far!
Comments
Add the following lines of code:
CONFIG.PHP
`$conf['album_thumb_crop'] = true;
$conf['album_thumb_crop_width'] = 85;
$conf['album_thumb_crop_height'] = 85;
$conf['album_thumb_size'] = 100;`
TEMPLATE-FUNCTION.PHP
Scroll down until you find the printAlbumThumbImage function and add the line:
`function printAlbumThumbImage($alt, $class=NULL, $id=NULL) {
echo "((zp_conf('album_thumb_crop')) ? " width="".zp_conf('album_thumb_crop_width')."" height="".zp_conf('album_thumb_crop_height').""" : "") .
`(($class) ? " class="$class"" : "") .
(($id) ? " id="$id"" : "") . " />";
}`
All the part here :
`
function printAlbumThumbImage($alt, $class=NULL, $id=NULL) {
echo "
((zp_conf('album_thumb_crop')) ? " width=\"".zp_conf('album_thumb_crop_width')."\" height=\"".zp_conf('album_thumb_crop_height')."\"" : "") .
(($class) ? " class=\"$class\"" : "") .
(($id) ? " id=\"$id\"" : "") . " />";
`
Cheers,
-David