I'm using WP Job Manager, and would like user-uploaded logos to be resized and positioned to fit within a fixed height and width. Currently, my settings are at:
When I am uploading the following image (250x169):
This is what I get:
But what I want to have the image resized to fit a fixed width and height of let's say 150x150, like so:
I tried unchecking the "crop thubmnail to exact dimensions..." in settings, the image is then just resized (like to 150x68, not 150x150 without cropping)
I tried adding the following to my theme's functions.php:
add_image_size( '150x150-crop', 150, 150, false ); add_theme_support( 'post-thumbnails' ); set_post_thumbnail_size( 150, 150, true );
Nothing makes a difference. Any ideas?