-
vidyutdev
Hi, i have a dynamic gallery inside a Single Post template, ACF gallery field and then outputting using GB Query loop.
But i can’t see any alt text and so on. And my client is notifying the images are not indexing.
I guess that is the primary reason. Please check the below’s screenshot…
https://i.postimg.cc/J00wJ04D/Screenshot-2025-10-24-at-6-46-49-PM.png
Thanks…)
-
Hi there,
GB simply outputs the image, it does not fetch other attributes of the image, which is expected behaviour.
In this case, you might need to swap to ACF’s shortcode to display the gallery and see if that works.
-
vidyutdev
Great, I’ll try.
Hope in future we have that crucial feature like other builders.
Thanks..
-
vidyutdev
Can you tell how to have the ACF Shortcode?
Thanks..
-
I’m not sure, you will need to check with ACF’s support.
I found this doc from ACF, hope it helps: https://www.advancedcustomfields.com/resources/gallery/#display-list-of-images
-
vidyutdev
Ok thanks.
I hope GB fix that huge issue in the next update.
That is a big accessibility issue.. having a deep discussion in TAB community..
We also emailed Tom..
Thanks!
-
Alvind
Hi there,
You can add the alt attribute to the image by using the dynamic tag {{loop_item key:alt|required:false}} in the ALT Text field: https://cln.sh/qsFbX4MPDHqgcbf1cCqR
Let me know if that works.
-
vidyutdev
Working but when the return format is ‘Image Array’.
Can’t we do for image URL?
Thanks.
Also i would be great if we can make the loop item ‘<figure>’.
Thanks!
-
Hi there,
If you’re using a ACF field that returns the Image Array then you should use:
{{loop_item key:ID}}for Image URLAnd that should auto populate the other attributes including the
alttag.
Let me know -
vidyutdev
Thanks a lot David.
It fixed everything.
-
You’re welcome
Would you mind updating your Facebook post to reflect this. Thanks David -
vidyutdev
Already DONE.
Kindly, check… And let me know…
-
Thanks a lot, and apologies for the misinformation!
- You must be logged in to reply to this topic.