I have a page where I sometimes use the ACF gallery, but sometimes have to use the default WordPress attachments. Is there a function that can take a WordPress attachment ID, and convert it to an ACF image object with 'url', 'sizes'
etc?
$image = acf_get_attachment($post_id);