@jebbdomingo you may adjust the datasource array and then goTo(index) to the new index. Here's some info photoswipe.com/methods/#dynam…
If you change the current, previous, or next slide - also call refreshSlideContent(index). But ideally, you want to avoid modifying active slides.
PhotoSwipe v5 is out of beta 🎉
photoswipe.com
- Rewrite in ES modules
- Much simpler initialization
- Animation and gesture engine update
- Single CSS, no external assets
- Responsive images support
- Dynamic import
- Improved documentation
@JackyHallyday it's not recommended to use v5 if you need to support IE11.
But it'll automatically disable itself if the browser doesn't support it, and the image link will just work.
Alternatively, you may provide your own fallback via script type nomodule.
33 Followers 490 FollowingWe hope to serve you well :
Why buy my Paints ?
You can buy it for resale o for keep it.
Our works are a good investment.
Thanks for your business.
67 Followers 185 FollowingAt https://t.co/Kjv3olHLTe Company my scalable architectures ensure that as our clients expand, their platforms can handle increased demand without performance hitches.
38 Followers 91 FollowingWe are a Web Design and Web Development agency, boasting over 15 years of experience crafting cutting-edge solutions for businesses.
199 Followers 484 Following10+ Years Full-Stack Software Engineer.
Dedicated to exploring the frontiers of AI, the art of programming, robotics, and sharing fun internet stories.