Woocommerce ACF image in slider

How do I get a Woocommerce ACF image to show in a slider?

When I choose dynamic data and choose the image, in this case {acf_image2} all I get on the front end is the image title. How do I get the actual image?

Are you using the ACF gallery field type?

I was just using the image field type. I have tried the gallery field type and it doesn’t make any difference unfortunately. Can you get it to work in the slider?

I can get it to work if I use this but that only works if the image name is the same as the title.

img class=“attachment-full size-full” src=“http://bricks2/wp-content/uploads/2021/12/{acf_image2}.jpg” alt="" width=“800” height=“800” data-type=“string”

I tested the slider and it is not working with the gallery field type.

I think that you should wait until nested logic is coming. They will change the old slider and give the new slider where you can manually build the slider with query loop and nested Items. like Oxygen’s dynamic slider component.

Thanks for double checking Chinmoy. Yes, hopefully the new slider will do the trick.

I think so. In the meantime, I shall make the custom provider for gallery field type and you can make the flexible list with it