PhotoSwipe with SlickSlider #1248

Open
richcom opened this Issue Dec 2, 2016 · 1 comment

Projects

None yet

2 participants

@richcom
richcom commented Dec 2, 2016

Hello,

First of all, you have a nice plugin.

I use it in combination with the jquery plugin slick (http://kenwheeler.github.io/slick/) with single items.

Example:

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: http://www.screencast.com/t/0uo4xK5CRHNG

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

Sorry for my bad english.

@grimxd
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