I am trying to find if there is a setting to get proportional crops instead of the rectangular ones for the album thumbnails. It looks like the demo on gir-web's site is doing this with some of the albums, like nature. Is this done by custom code, or an options I can't find?
Comments
" title="<?php echo gettext('View album:'); ?> <?php echo getBareAlbumTitle();?>"><?php printCustomAlbumThumbImage(getBareAlbumTitle(),NULL,238,100,238,100); ?>
The image size is hard coded there.
Then, the template is using printCustomAlbumThumbImage which will crop the image. (didn't quite get the difference between size and crop parameters). Not what I thought I wanted. I changed to using printCustomAlbumThumbMaxSpace instead. This did give me full height portrait images, but I would have had to mess with other bits too much tonight to get it to look right.
My solution: I went back to the original function, but instead of 100h, I used 158h which I got from the ratio of 4x6 (very close to un-cropped image) using the 238w that was there. This makes my landscape shot images fit perfectly, and my portrait shot images have more breathing room. I can live with that for now :-) I had to tweak the li the image/title/desc was in to give it more space too.
I guess this thread is solved.
Here is the gallery if anyone is interested.
My gallery