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