I think that’s what is supposed to happen in Hard crop mode. If you resize an image to 450px wide and the height becomes proportionately smaller than the cropped height value you give for your image size, then you get the smaller height value. It’s not going to stretch the height and distort your image, I think that would be way worse.
You could try changing the $crop parameter to false, and see if you like the results better.
Related Posts:
- Redirect to another page using contact form 7? [closed]
- How can I make add_image_size() crop from the top?
- Prevent publishing the post before setting a featured image?
- Thumbnail with different sizes
- Disabling post images for not logged in users
- Converting a simple plugin to be placed inside of functions.php
- Set WordPress Featured Image For All Post Slugs Matching Image File Name in Specified Directory
- bulk change of image setting “link to” to “link to: image url “
- Converting Attachment to Images?
- Inserting HTML tag with ACF into shortcode
- Add padding while generating thumbnail
- Is there a best practice remediation for PhpStorm’s warning that void function the_post_thumbnail is used?
- Plugin to hide image in excerpt
- Image change on hover
- Add “Featured Image” box in my plugin post page
- Scrape a webpage for image and add it to post
- Regenerate Thumbnails Plugin successfully updated my thumbnails but image src won’t change to new image size?
- Elementor Pro display featured image on section -> style -> image using shortcode
- How to hide featured images of all posts falling under the same category in wordpress?
- Upload Image with a file URL and show dynamically on Frontend
- insert og image link in wordpress post
- Display Multiple Photos as Featured Image when mouse moves on to it post
- WordPress create thumbnails on demand
- How to wrap image tag into div for post only?
- Does WordPress have a way of changing the ‘Natural’ size of uploaded images?
- Update (a function) post’s featured image as soon as $image_url changes
- How to force regenerate thumbnails in WordPress posts?
- Determine if get_the_image has image on Get the image Plugin
- Retrieve post thumbnails
- Display Video as Post Thumbnail
- How to disable hover zoom on woocommerce. None of the common methods work
- How to access OOP plugin function inside themes or other plugin
- how to change wp-admin url using function file
- Add the_post_thumbnail_url to a shortcode in function.php
- Search by Attachment ID
- Add action to custom Function
- Hook for altering the content of all wp mails
- Show media-uploads to all users
- Overwrite add_image_size defined by theme
- same user role or copy the user role to be same as the other role
- JSON API Plugin not showing Attachments id reused
- How to get rid of Ellipsis on Woocommerce [Essential] Theme [closed]
- Sharing functions between plugins
- Help with a function in a widget
- How do I link an image in my plugin so it displays on WordPress?
- Changing plugin options from theme functions file?
- Expected ‘add_filter’ (T_STRING)
- Could not add ‘LoginLogout’ link using BAW login logout plugin
- My widget won’t update its values when save is clicked
- Execute a function when the entire page is displayed
- Adding featured image to posts created by a plugin
- Different registration form for different roles
- Featured Image keeps cropping
- how can authors to define custom pages?
- How can i listing current category and Featured Category post list?
- How can i list random author?
- Some images on WordPress site are suddenly gone
- Adding a Tag Parameter / Filter to My Shortcode
- More gentle way to hook WordPress custom url
- Call javascript functions from each page
- Is there a way to insert multiple images into a post at the same time without using a gallery?
- How to make excerpt image be full size instead of thumbnail?
- Is there a Image Gallery which will load all my posted Images like twitter’s image grid?
- Multiple images per post – Show random image elsewhere
- How to add custom function to pluggable.php
- Replace image urls(absolute instead of relative) by using filter in single page
- Adding a pagenavi to function for displaying bookmarks
- grab or load text on demand
- Multiple Post Thumbnails Plugin – Need help with code
- Looking for a photo management solution
- Can you echo PHP code from a variable?
- Removing the custom_image_header from wp_head
- How do I create pages within a WordPress post?
- I’m having several WP issues, especially with missing images
- Simple sildeshow/image-upload plugin?
- sliding/fading header plugin or approach suggestion
- What is the most efficient way of adding additional functionaliy for admin only
- Defining the value of a variable before a function?
- auto activate plugin when theme is active
- How to get custom minimum price in Woocommerce
- Error Metabox Warning: call_user_func() expects parameter 1 to be a valid callback
- How can i call a functions.php function, from inside my plugin class?
- Build a must-use plugin that tracks when other plugins are activated or deactivated
- Offer Download Links for Product Images
- Can export gallery but can’t import it Wp all import
- Dynamic URL Rewrite for Custom
- How to make WooCommerce payment method field optional?
- Checkbox show / hide output result
- Replace the_content with ACF Flexible Content via function
- How to keep plugin (media-sync) running even the tab is closed?
- Custom image sizes showing in Classic Editor only when upladed directly to post
- Load CSS before Theme CSS
- Custom Logo Link WordPress
- Where do I put the code snippets I found here or somewhere else on the web?
- How to convert Currency from USD to other IP Based currency in Php function
- how to remove share button from image overlay
- Create a pdf from the entries in DB
- How to upload large media file in chunks, without any plugin?
- how to validate input field in wordpress generated with wpform plugin
- How would I get the new plugin version on this function?