Posts Tagged ‘ ratio

Javascript fill within container while maintaining aspect ratio

I’ve been working with the jQuery plug-in jCrop to let users adjust thumbnails to focus on the object of their photos. The photo may vary in ratio and size, also the location of the important object of the photo may not be in the center of the original image file. This is not an automation-friendly scenario and we need the user to help us get the thumbnails look good.
Read more