Add_image_size - Image Attributes are Less Than Actual Image Size in Post

I’m doing:

add_image_size( ‘huge-image’, 1280 );

Then I add the the new size to the media selection bar:

‘huge-image’ => __( ‘Extra Large’ ),

Everything works, but when I insert the image the attributes are not right.

<img src="http://www.domain.com/article/wp-content/uploads/2016/08/girl-on-the-train-Copy-1280x725.jpg" alt="girl-on-the-train - Copy" width="604" height="342" class="alignnone size-huge-image wp-image-2234" />

So it’s showing the right image specs, but putting in less than half the width/height in the attributes. How can I fix that?

All feedback appreciated.
Ryan

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.