What you’re apparently asking for isn’t possible. WordPress will never add white space to an image to make it fit a certain size. This is what cropping means. Cropping will always remove (i.e. crop) some of the image so that it fits a certain size. As far as I am aware, there is no tool that ever refers to adding space as ‘cropping’, so WordPress’ behaviour is the expected behaviour.
So your only options are to resize the image, keeping the proportions (your 3rd image), or removing some of the image to fit the desired dimensions (your 2nd example).
If you want images to fill specific dimensions without being cropped, you will either need to upload them at the desired dimensions originally, or if they’re being used in a specific way in a specific template, use CSS to position the uncropped images the way you want.
Related Posts:
- How to disable WordPress from creating thumbnails?
- set_post_thumbnail_size vs add_image_size
- the_post_thumbnail responsive srcset not populating with custom image size
- New image size version only for the Featured Image file
- Can WordPress crop only the post thumbnails?
- Autogenerated Thumbnail compression depending on size
- How check that there is post thumbnail feature image or not on wordpress?
- If I Regenerate Thumbnails, would WordPress delete the existing Thumbnails and replace them with ‘new copies’?
- How to get cropped thumbnail source for custom post type
- “Medium” size image displayed instead of “thumbnail” in only one post, other posts are fine
- How to create resized versions of images added with wp_insert_attachment
- Featured image size always cropped bottom
- Trouble Retrieving Thumbnail URL on Front-Page
- How to get image title/alt attribute?
- How do you get the post thumbnail size?
- Minimum Dimensions Requirement for Featured Image?
- Generate Thumbnails only for Featured Images
- How to get all featured image sizes and their URLs?
- How to Dynamically Resize WordPress Image On-The-Fly (custom field/theme option)
- Display thumbnail only if requested size exists
- Set custom name for generated thumbnails
- How to add multiple image sizes of the same size with add_image_size
- wp_get_attachment_image_src always returns full-sized image
- Add Title Attribute to WordPress Image the_post_thumbnail
- Can’t extract and set SVG dimensions
- Is there a hook which fires after all thumbnails are generated?
- get_the_post_thumbnail_url with an unregistered size
- Getting custom-sized featured image’s URL?
- Cropped featured image replaces original image in gallery
- Showing a placeholder/default img, if no featured image is set
- Featured image with the same height thumbs returns wrong thumb
- How to change the naming of the resized image files
- Change Output for Images in Content
- Allow user to manually set crop area of default/custom image sizes on upload [closed]
- Query the post which have a thumbnail
- How to get the image sizes, in a function, as per the sizes mentioned in the media settings?
- No srcset for hard-cropped thumbnails
- Resizing Images to lower Disk Space Using Plugins
- How to change _wp_attachment_metadata specific value in SQL?
- Only create image size when used in featured image
- How to use images uploaded with custom implementation of thickbox like the_post_thumbnail() functionality
- How can I get a different image size, if all I have is the link?
- How to get custom image sizes into media uploader dropdown?
- WordPress resizes image to the same size as uploaded
- Removing Title Tag from Thumbnails
- add_image_size and add_filter(‘image_size_names_choose’, ‘my_custom_image_sizes’) not working with wordpress 3.5.2
- wordpress responsive image srcset not working
- Customising the size of images served in Visual Composer elements [closed]
- Changing playlist shortcode thumbnail sizes?
- How do I get a random image from subset of images in media gallery?
- How to scale up post thumbnails/featured image?
- Why are extra 92 pixel square thumbnails created?
- wp-cli regenerate media is not working for custom sizes
- Upload 3 different featured image sizes to WordPress
- Remove dimensions from filename featured image
- Can a thumbnail of an animated gif be animated?
- Disable wordpress image sizes generation
- Media thumbnail for custom post inside post content
- Cannot get full thumbnail size using the_post_thumbnail
- Thumbnail and Featured Image With Fixed Sizes?
- List category posts – Thumbnails are not displaying
- Save image as featured image
- Why am I getting errors in product.thumbnails.php? [closed]
- WordPress Uploader Editor shows broken image
- Thumbnails produce unwanted gray pixels on white background [closed]
- add_image_size not working with the_post_thumbnail
- Why does the Hard Crop option Scale?
- How do I set the default “feature image” size?
- How to get full absolute url for post attachment?
- Is there a way to change a post’s thumbnail image(s)?
- Thumbnail Cropping with add_image_size?
- Lazyload post thumbnails
- how i can increase Featured thumbnails size?
- Show featured image next to post-teasers in Genesis Framework?
- thumbnails are getting clipped down, want to resize instead
- Force WordPress to strip/remove EXIF/IPTC metadata when resizing thumbnails
- Is it possible to nest get_previous_post()?
- Get ID of featured image using “get_post_thumbnail_id(the_ID())” – without printing to screen?
- How to offset thumbnails to the center?
- Exclude featured image from attachment loop
- Sidebar Thumbs Squished?
- Aligning the thumbnail image
- Post thumbnail not working after regenerate
- How to stop thumbnail generation from some images and different size thumbnail generate
- Update old Post image metadata to ‘thumbnail’ wp_attached_file
- How to stop wordpress always displaying full-res images
- How do get post thumbnail into plugin?
- how to link post-thumbnail to original img in a lightbox?
- 2 image size for post
- adaptive featured images wordpress 4.4 grid
- Featured Image Not Working when loaded from sub-domain
- Add padding while generating thumbnail
- Fixing image names for a site being restored
- How can I see where in my themes and plugins certain image sizes are used?
- Generate image for newly added size
- Can’t generate thumbnail images
- How to both crop (with tool) and resize thumbnails having only a max width constrain?
- wp_get_attachment_image_src match smallest edge
- get_post_thumbnail_id() Doesn’t return value [closed]
- How to fit image to Thumbnail canvas size?