1. I have a thumbnail slot of 32 by 32 pixels
2. I will create thumbnails from both horizontal and vertical images
3. I need to maintain aspect ratio
How do I make sure I don’t end up with white space in the thumbnails?
Image: width: 431 pixels, height: 600
$config['maintain_ratio'] = TRUE;
$config['master_dim'] = 'auto';
$config['width'] = 32;
$config['height'] = 32;
This gives me an image with a height of 32 and a width of ONLY 23.
How do I make sure that I always FILL the whole thumbnail slot wether the image is horizontal or vertical?