I'm using ExpressionEngine and have a wygwam field that takes html formatting, including img tags. I was wondering how I could dynamically create a swiper based on these images? I was thinking that if the field contains more than one image, it should be turned into a slideshow.
I could do this with some jQuery, check the text for img tags and edit the markup, then initialize the swiper instance. But could this be done using perhaps embedded templates, or even snippets? Or perhaps there's a plugin out there for this need?