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]
- Using plugin functionality in external php script not working
- greatest() function returns undefined property
- 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
- Missing argument 3 for wp_register_sidebar_widget()
- 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
- How to upload multiple files/images when developing a wordpress plugin?
- What is @Action in WordPress?
- the_tags : can we insert a class
- WordPress checkbox and Illegal string offset
- Getting taxonomy images to display on single-post with their terms
- Undefined index: action plugin problem
- PHP script from functions php is loaded via admin-ajax to div…and the result is 0, not the desired content
- I changed .live() to .on() but change is not reflected on the server
- How can I fetch data from another website to my wordpress website with mysql database
- how to change wp-admin url using function 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
- Multiple Post Thumbnails Plugin – Need help with code
- How do I create pages within a WordPress post?
- How to upload large media file in chunks, without any plugin?
- Revision featured image
- Get all image in media Gallery with alt/title?
- WP Function does not trigger on Webhook API Call
- Why do I need to reload the page for WordPress to see the new custom field added with jQuery
- Cookie value changes back to previous value after changing
- RSS Feed on WordPress showing code (hypertext) in articles titles
- Alternative Hook to the_content for Changing Background Color
- How to add specific script to WordPress webpage that will working with user input and databases
- Do images in plugins automatically load?
- Hide Plugin Custom Post Type Menu Link
- How to create algorithm for ordering posts in WordPress?
- Add external javascript to post template
- How to make cover image in post block expand to entire screen?
- Printing medium sized image
- functions.php conditional output for a single plugin
- Make a wordpress site similar to Hot Or Not – Image rating system [closed]
- Single dash converted to double dash
- Displaying single Instagram images as a tile
- How use Dynamic hyperlink on each wordpress post?
- Image width issue in IE [closed]
- Can’t modify plugin function
- PHP if url extension action=discussion condition use [closed]
- Multiple Post Thumbnails Not Returning URL for Background Image
- Make plugin admin page visible to other roles
- Achieve the following layout
- wp_enqueue_script doesn’t load JS in plugin
- Read page- or post-content across different builder-plugins
- Remove posts that start with similar words (like a delete duplicate posts plugin)