The ACF image field allows you to return either the
URL of the full-sized image, the image (attachment)
ID, or the image
object. How you configure this will depend on the method you intend to use to retrieve the URL.
For this method, you’ll want to return the image
ID. To get the image URL, we’ll use the following code:
Using the Image Object
You can also configure ACF to return the image object and extract the image URL like so: