Home › Forums › Front-end Issues › Displaying field with get_terms › Reply To: Displaying field with get_terms
The problem is with the image field and would not be a problem with a text field. the_field() echos the field value, in this case an array that cannot be converted to these. If you return an array for an image field then you must read the elements of the array and create the output yourself as needed. This is covered in the documentation. ACF will not format the html for the image for you when the field is set to return an array. You will find that this is the case with most of the more advanced field types.
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.