Home › Forums › General Issues › Getting image url › Reply To: Getting image url
This applies to all fields.
Some fields may return the right thing even with an incorrect field key but that is only because many field types store text and in most cases ACF does not need to figure out what to do with the stored values. In the case of some fields, like image fields, ACF stores the attachment ID and needs the correct field key to find the field settings to see what you want it to return.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.