Please keep in mind that the shortcode will only work for a simple value like text. So, if you want to use the image field in the shortcode, you need to set the image field Return Value option to “Image URL”. I’ve attached a screenshot for your reference.
If you need to use the Image Array, then kindly check this page: https://www.advancedcustomfields.com/resources/image/
I hope this helps 🙂
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!
© 2023 Advanced Custom Fields.