When using the_feild(‘feild_name’) inside an image tag I am getting a broken link. When I preview the source code I am getting all the array information in place of the url. How do I fix this?
I am using this inside a custom post type, cold that be introducing the problem?
Sounds like you have the image field set to return the image object. If you just want the url, set the field’s return value in the Fields editor to “Image Url”.
See the docs for examples of using all three return value types http://www.advancedcustomfields.com/resources/field-types/image/
That was exactly right… knew it was something like that. 😉 Thanks for the fast reply.