I’m using a thumbnail size of 100 * 60 in my blog, but sometimes I want to use square images.
Is it possible to use a Wordpress plugin or CSS to make it fits by adding background in the sides to keep the original ratio of the image?
- Original image size : 120 x 120
- Add extra white/transparent background to make it at the thumbnail ratio : 200x120 so 40 pixels on the right and the left on the original image so it’s centred
- Reduce the image size from 200*120 to 100*60.