I'm curious what dependencies add_image_size()
has because I just copied a theme over to a new server and began adding thumbnails to custom post types only to find out that my request for hard-cropping is being ignored, and the images are kept proportional.
functions.php
...
set_post_thumbnail_size( 80, 80, true );
add_image_size( 'micro', 32, 32, true);
add_image_size( 'featured', 340, 225, true );
add_image_size( 'videowide', 460, 225, true );
...
On my local server (WAMP Server on Windows Vista) the true
is respected, and the images are cropped in such a way that extra pixels are lost - edges aren't respected. On my live server (CloudLinux Server 5.5 x64), the images are kept proportional.
Is there some gdlibrary dependencies or something I am needing to change on the live server to get the expected results?