I'm assuming this needs to be done somewhere in i.php or with a custom function... I'd like to be able to restrict the height of the thumbnails to one size so that landscape and portrait images can all line up evenly in one row on the album view. I don't like the idea of cropping the images. I just want to set a 'maxheight' variable (which would then apply to the short side of a landscape image) and have all thumbnails proportionally resize down. Any ideas?
It's meant for the sized image originally though, but you could duplicate this function and make a custom function for your theme from it.
Perfect, thank you.
Is there a reason why that works on album.php but not search.php (of the modified default template?)?
I get this error: Fatal error: Call to a member function on a non-object.
isnt it so that even in search there's an album from which the image came from?...
on my search page I get the album from which the image came by putting
`global $_zp_current_image;
$album = $_zp_current_image->getAlbum();
$albumtitle = $album->getTitle();`
in the `` loop;
no idea if this can be of help though
and defining the max height like `