How to prevent resized featured images?

The theme has set thumbnail sizes for featured images:

add_theme_support( ‘post-thumbnails’ );
add_image_size( ‘hitmag-landscape’, 1120, 450, true );
add_image_size( ‘hitmag-featured’, 735, 400, true );
add_image_size( ‘hitmag-grid’, 348, 215, true );
add_image_size( ‘hitmag-list’, 290, 220, true );
add_image_size( ‘hitmag-thumbnail’, 135, 93, true );

How do I set the “featured” image one so that the image size is just whatever image I upload (for height – I want to be able to set width to 735 still)

Read more here:: How to prevent resized featured images?

Leave a Reply

Your email address will not be published. Required fields are marked *