Topic: thumbnail cropping

Is there some way to control or override the cropping of thumbnails to square? For some images, portraits in particular, the default cropping doesn't work well. If I were to crop them by hand and replace those generated by the program in the folder, would that work? Is there an easier way?

Thanks

Re: thumbnail cropping

You can change the dimensions of the thumbnail images (for example to landscape or portrait-style rather than square) by clicking the 'Change...' button in the 'Image Size' control panel on the 'Images' tab of JuiceboxBuilder-Pro. However, if your source images do not have the same aspect ratio as the thumbnail dimensions you specify, then the images will be cropped. The cropping will be centered and this cannot be changed within JuiceboxBuilder-Pro.

If I were to crop them by hand and replace those generated by the program in the folder, would that work?

Yes. You could replace the thumbnails generated by JuiceboxBuilder-Pro (in the 'thumbs' folder) with your own images. Just make sure they have the same filenames, otherwise you will need to modify the references in your gallery's 'config.xml' file.

Re: thumbnail cropping

Does this feature from Version 1 .4 .3 [12 Jan 2015] solve this issues / limitation ?

FIXED - Scale-to-fill rather than center-crop thumbURL images

Would looooove this feature and it would be enough for me to buy this product ('cause after 2 weeks of searching I can say that it does not exist out there)

Re: thumbnail cropping

@marathonmax

The bugfix you quoted ensures that images are scaled to fill the thumbnail dimensions. (Images were previously only cropped.)

For example, prior to the bugfix, if you had a thumbURL image which had dimensions of 1024 x 768 and your thumbWidth and thumbHeight were both 85 (default values), then the actual thumbnail displayed in the gallery would be just the centre 85 x 85 of the original image.
However, now (post-bugfix), the 1024 x 768 image will be scaled to fill the thumbnail dimensions so the height of the original image will be scaled down (from 768 to 85) to fill the thumbnail height and the width will be cropped (losing 256 pixels).

Basically, pre-bugfix, the images used for the thumbnails really had to be the same dimensions as the thumbWidth and thumbHeight (although this would not have been a problem when using JuiceboxBuilder-Pro to build a gallery). Now though, it is possible to use images of any dimensions for the thumbnails (although cropping will occur if the aspect ratios of the source images and thumbnail dimensions do not match exactly). This would be useful if someone wanted to use a single folder of images for both the main images and the thumbnails in a gallery.

Thumbnails do not need to be square (you can set thumbWidth and thumbHeight independently of each other) but all thumbnails in a gallery will have the same dimensions.

Please note that thumbWidth and thumbHeight are Pro-only options which are not available in Juicebox-Lite, the free version.