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?
- Generate Thumbnails only for Featured Images
- How to Dynamically Resize WordPress Image On-The-Fly (custom field/theme option)
- Add Title Attribute to WordPress Image the_post_thumbnail
- Is there a hook which fires after all thumbnails are generated?
- get_the_post_thumbnail_url with an unregistered size
- Cropped featured image replaces original image in gallery
- Showing a placeholder/default img, if no featured image is set
- How to change the naming of the resized image files
- Allow user to manually set crop area of default/custom image sizes on upload [closed]
- Query the post which have a thumbnail
- 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 responsive image srcset not working
- Why are extra 92 pixel square thumbnails created?
- wp-cli regenerate media is not working for custom sizes
- Remove dimensions from filename featured image
- Disable wordpress image sizes generation
- Media thumbnail for custom post inside post content
- List category posts – Thumbnails are not displaying
- Why am I getting errors in product.thumbnails.php? [closed]
- How do I set the default “feature 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
- How to offset thumbnails to the center?
- Sidebar Thumbs Squished?
- Aligning the thumbnail image
- How to stop thumbnail generation from some images and different size thumbnail generate
- How to stop wordpress always displaying full-res images
- How do get post thumbnail into plugin?
- 2 image size for post
- adaptive featured images wordpress 4.4 grid
- 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
- WordPress returns old thumbnail size after changing media settings
- remove and disable image link in functions.php
- media-library: how to insert thumbnails with a fixed width, regardless of landscape/portrait orientation
- the_post_thumbnail(‘my_image_size’) always outputs full image
- Filter for post_thumbnail: link to small src and add data-attribute [duplicate]
- Image with large file size not cropping
- What can I do if I set a gif as featured image? no thumbnail when i share on facebook
- Can’t get post thumbnail to display in foreach loop
- images not showing despite using add_theme_support(‘post-thumbnails’);
- Resizing thumbnails retrospectively
- post thumbnail: increase dimension if smaller than… Possible?
- Generating very small sized thumbnails from featured image
- Else/If Statement to Display Photo Descriptions
- Category page with thumb is ok but can’t do the same with tags
- How risize a thumbnail?
- adding image to post thumbnail from another server
- Is wordpress compressing my images? if so, how to prevent it?
- how can I call a posts featured image in any template?
- How to update custom image sizes?
- Create an instance of add_image_size
- custom image size not being fetched
- How to use default image as featured image by implement some code in function.php
- How to change the format of thumbnails into wordpress theme?
- WordPress Multisite: Images moved to /sites/1?
- display div tag only if post has thumbnail
- I cannot upload images to post or the media library in wordpress
- Using the_post_thumbnail do not rollback to original image if specified thumbnail does not exist
- Missing image size
- Making a ‘featured image’ become the image for a full banner (top of page) image in a blog post?
- set_post_thumbnail() shows Unattached on backend under Media
- Featured Image, and Image in post
- Allow ‘Set featured images’ to select multiple images
- Why wordpress doesn’t generate thumbnails?
- Force Regenerate Thumbnails Not Working
- get the post thumbnail returns the full size
- Always generate thumbnail after sideloading image
- Making a thumbnail if there exist a link with. jpg or .png extension in WordPress
- setting featured image is not working while running script in background, works when running that script from browser
- Custom image sizes are not used
- I would like my posts to pull my custom cropped thumbnail instead of creating its own thumbnail from Featured Image
- Editing featured image
- Different thumbnail size than actual picture in post
- WP is showing wrong image dimensions
- Where is the template from the_post_thumbnail()?
- WordPress pointing animated GIF images with wrong file name upon upload (GIFs animation not working)
- Images thumbnail not cropping square