Dear Advanced Custom Field friends, I hope you are all well.
Loving ACF and using it to extend user profiles for a custom-built site. Won’t bore you with why ‘avatars’ aren’t acceptable but my customer required an additional ‘Profile Image’ field. I have set this to ‘Image’ type and returning the URL.
I am stumped to how I can use this in the front end, where we are displaying ‘Name’ and ‘Profile Image’ that then links through to the ‘Profile Detail’. I can grab the other fields in the Fields Group with ease, but I just cannot sort the image. It’s just returning the ID that ACF stores behind the scenes, but I cannot for the life of me connect that to the table that joins the URL of the image so that I can use the returned URL in the query for the img src.
Has anyone achieved this at all, please? Thanks so much in advance.
Viewing 1 post (of 1 total)
You must be logged in to reply to this topic.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users