hi .. is there a reason why the gallery field doesn’t provide the image’s original (“full”) image size in the “sizes” array?
It sorta provides it, just not inside of the sizes array. It’s up a level under [“url’]. This is the same as the image field’s return.
I reckon it would be good for consistency with the WP API to also include [“full”] within the [“sizes”] array.
thanks .. i used
wp_get_attachment_image_src( $image['id'], 'full' );
but this is definitely more concise – thanks
$image['url']