Query Image File of a Different Size
I’m not quite sure what data is in your get_field(‘image’) but it sounds like you want all the metadata associated with an image. To do that just pass the $id to wp_get_attachment_metadata(). The result would be: Array ( [width] => 2400 [height] => 1559 [file] => 2011/12/press_image.jpg [sizes] => Array ( [thumbnail] => Array ( … Read more