As long as the field exists, it works. If it’s just spitting out strings it’s because you’re doing it wrong. ACF has very clear and easy to follow example instructions for every field type. Just go and look at the image field documenation to see what you’re doing wrong.
It returns the array of images. You still need to do something with it. Check the image element settings.
If you need it to return a url (like src=“/image.jpg”), you need to make sure that the return format is set to URL
I use a work around and use the Gutenberg gallery as the only content for each post in that editor then use acf for the rest. Then in my page builder (bricks) use Shortcode for each field and the post content which shows a gallery.
As long as the field exists, it works. If it’s just spitting out strings it’s because you’re doing it wrong. ACF has very clear and easy to follow example instructions for every field type. Just go and look at the image field documenation to see what you’re doing wrong.
ACF documentation is excellent. Read it.
https://www.advancedcustomfields.com/resources/gallery/
It returns the array of images. You still need to do something with it. Check the image element settings.
If you need it to return a url (like src=“/image.jpg”), you need to make sure that the return format is set to URL
I use a work around and use the Gutenberg gallery as the only content for each post in that editor then use acf for the rest. Then in my page builder (bricks) use Shortcode for each field and the post content which shows a gallery.