PhotoSwipe with SlickSlider #1248

richcom opened this Issue Dec 2, 2016 · 1 comment


None yet

2 participants

richcom commented Dec 2, 2016


First of all, you have a nice plugin.

I use it in combination with the jquery plugin slick ( with single items.


gallery.listen('afterChange', function () { $('.product-main-image').slick('slickGoTo', gallery.getCurrentIndex()); });

If I slide with PhotoSwip, then I let the slick slider slide over the listener "afterChange".

When closing PhotoSwipe, it is scaled to the now hidden element. It should reduce to the current element.

Here is a video as an example:

Is there the possibility that when closing then photoswipe reduces to the changed image?

Sorry for my bad english.

grimxd commented Dec 13, 2016 edited

I am looking for similar thing. I am using Swiper in combination with Photoswipe . I am using Photoswipe to expand (maximize) photos in Swiper slides. When I close Photoswipe I want to return to the Swiper slide with the photo I just closed in Photoswipe. (Similar like in the @richcom 's video provided above)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment