Home › Forums › General Issues › Possible to use custom image url instead of id? › Reply To: Possible to use custom image url instead of id?
Edit: Ok @Elliot, I think I figured out what our problem is…
We already have a custom field called “thumbnail_large” that we’ve been using for years before ACF and I just setup ACF to use the same “thumbnail_large” custom image field. This way all of our old posts could have their field’s automatically added as ACFs. I’ve seen this happen before with other custom fields and ACF text fields, and it worked.
In this case, however, it doesn’t seem like it’s doing what we want it to do. By adding an image as the ACF “thumbnail_large” field, it also adds the image’s ID as a default custom field. Because our conditional statement is working as it should, it sees that “thumbnail_large” is true, however, because ACF is adding the value as an id (in the backend) it tries to use just the id as a src and fails.
Is there a way to get the ACF to output the image’s value as the actual URL instead of the id in the backend editor?
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.