Title: Image Fields only return ImageID
Last modified: August 30, 2016

---

# Image Fields only return ImageID

 *  [robertbryn](https://wordpress.org/support/users/robertbryn/)
 * (@robertbryn)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/image-fields-only-return-imageid/)
 * It appears that no matter what I select when creating an Image field, it only
   stores/returns the imageID instead of the URL.
 * To replicate the problem you can just create a single image field and select “
   returns url”. Then post data to that field.
 * When you examine the postmeta you will only see the objectID.
 * this is happening on Version 4.4.2
 * [https://wordpress.org/plugins/advanced-custom-fields/](https://wordpress.org/plugins/advanced-custom-fields/)

Viewing 1 replies (of 1 total)

 *  [cypl](https://wordpress.org/support/users/cypl/)
 * (@cypl)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/image-fields-only-return-imageid/#post-6279850)
 * Hi,
    I have the same problem on my project. Did you find a solution ? When i 
   select “object image”, it only shows me the url with a prefix added (image id
   + blablabla), so the url is wrong and the image can’t be loaded. Any idea how
   to solve it ? Thx

Viewing 1 replies (of 1 total)

The topic ‘Image Fields only return ImageID’ is closed to new replies.

 * ![](https://ps.w.org/advanced-custom-fields/assets/icon.svg?rev=3207824)
 * [Advanced Custom Fields (ACF®)](https://wordpress.org/plugins/advanced-custom-fields/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/advanced-custom-fields/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/advanced-custom-fields/)
 * [Active Topics](https://wordpress.org/support/plugin/advanced-custom-fields/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/advanced-custom-fields/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/advanced-custom-fields/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [cypl](https://wordpress.org/support/users/cypl/)
 * Last activity: [10 years, 10 months ago](https://wordpress.org/support/topic/image-fields-only-return-imageid/#post-6279850)
 * Status: not resolved