Support

Account

Home Forums Add-ons Gallery Field Gallery field doesn't include "full" image size

Solved

Gallery field doesn't include "full" image size

  • 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']

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘Gallery field doesn't include "full" image size’ is closed to new replies.