I have put together a short 7 step tutorial on how to create a Dynamic Multi-Image Slider.
The amount of slides will be determined on the amount of images placed in the Multi-Image field.
This will remove the arrow and nav slider if there’s only one image.
This is perfect, thank you very much for the detailed explanation!!
I’m sorry already if this is too much to ask, but do you think it is possible to add a dynamic description + link to each slide too? I have made a screenshot to better explain my problem:
This is seriously amazing! Thank you so much for putting this together!
So I’m trying to lay out my content the way it’s drawn out in the attached image and I need each of the dynamic image sliders to reference a different multi-image field within the same CMS collection item. Do you know if there is any way I can use the code you so kindly built out for us to put this together? Thanks so much in advance
Hi, Sorry for the late response.
The custom code will need be modified slightly in order to have more than one slider on a page.
Not sure if this is what you meant?
This article is about multi image fields, not about a collection of CMS items. In the multi image field you just add images, there isn’t really a place to add info about each image.
This is just awesome, I just gave it a try and although it wouldn’t work for a stupid “>” missing at the end of the script closing tag, it’s working perfectly now.
Super helpful! But this code is now disabling the view of another collection list wrapper, despite me putting the specific ids on the collection list and slider as instructed in your tutorial. I’m not savvy with javascript, what line would be triggering this to happen?
Hey Eli, I am following your directions on how to create a dynamic multi-img slider, and I am not able to make it work. I am willing to pay you as a consultant to share screens with me and help me figure it out. Thanks for your time.
Hey, this is awesome - thank you for sharing! I made it work on desktop but the gallery slider is not working on mobile or smaller devices. It shows just a gray box with the arrows, any thoughts?