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 get path to images in the uploads folder to be used in a plugin
- Remote upload file to server B
- Replacing Icons in the Dashboard
- Using functions from a plugin in your theme
- Keep one user logged for a year?
- How to turn off email you receive when registered?
- Execute a function using ajax
- While Using Static Pages, How Can I Get /blog into the URL of Each Post?
- Fatal error: Class not found in
- How do I create a full-bleed background image on text mouseover? [closed]
- greatest() function returns undefined property
- The Point of Using apply_filters()
- How to get subscription key or id using Woocommerce Subscriptions [closed]
- Adding Attachment Display Settings in custom media frame
- How to include code into functions.php file via a plugin
- Find unused images?
- Image gallery plugin [closed]
- wp_get_attachment_image function size argument not working if I also add a custom class
- Shortcode button dosent work for all posts. Work for first post only
- Is there a way I can find wordpress posts that don’t contain a word?
- How can I implement an Add to Collection function on my Image Gallery to be downloaded later?
- How can I restrict image upload dimensions for non-admin WordPress users?
- Calling plugin function inside custom plugin for onclick event
- Show function to super admin
- Grab WordPress Salt Data From URL
- Image Manager Plugin [closed]
- Plugin is a widget, but I want to call it in the head, can I?
- Cannot get wpdb data (Error in a simple fuction) [closed]
- Adding Static Image to WooCommerce Content-Single-Product template
- Help with WP Business Directory Manager Plugin?
- Return multiple values in a shortcode attribute
- Loading a plugin’s js file from functions.php
- How to access OOP plugin function inside themes or other plugin
- Multiple images per post – Show random image elsewhere
- Can you echo PHP code from a variable?
- Defining the value of a variable before a function?
- How to get custom minimum price in Woocommerce
- Dynamic URL Rewrite for Custom
- how to validate input field in wordpress generated with wpform plugin
- Error using wordpress functions inside a plugin class
- The function called on the wp head hook becomes null
- How to Upload images to a custom folder in upload folder using media uploader
- Submitting form to PHP
- How to detect 404 url and make this link underline or change background color?
- How use get_plugin_updates() function?
- how override a define
- How to Unhook actions/filters in within Class in plugin
- Hide Featured Image in AMP
- How to disable/enable a plugin at a specific time
- Dynamically Modify s2member Options
- How can I add a custom checkbox / radio button on the admin theme options to display a CSS or other?
- How to delete posts older than one year with post meta, post attachments and files?
- Do something with thumbnail image on post publish
- Theme Load Error
- Create csv file in plugin
- Lazy Load sometimes don’t work
- Load wordpress enviroment for external content?
- Server Path Information
- How to structure plugin in to functions?
- How to disable register and reset the password from WordPress admin panel?
- getting image alt text via ACF plugin in WordPress [closed]
- What is wrong with this dbDelta syntax?
- Call a function with href
- Allow users to download media files directly from Amazon S3 (AWS plugin)
- How to Add a Website Background Image to One Page?
- Adding a script & php to functions.php
- Override the plugin class and function
- Activate and deactivate two plugins automatically at certain hours
- How to show image caption in Woocommerce gallery
- LiteSpeed cache image Optimization