User1200560928 posted
I am working on a website which has a media gallery in it. Once the photo or video is uploaded, the application generate a thumbnail. I got all this done. The problem i am facing is when a vertical (portrait) image is uploaded, the thumbnail does not
maintain the photo's perspective, it shrinks the image to fit the square thumbnail size, this makes the thumbnail look blurred. If a vertical (portrait) image is uploaded, the thumbnail should have a black space on the left and right side (to maintain its
dimension) - please help me achieve this.
In short need a thumbnail generator like flickr - please send me script or tutorial for it.
Thanks.