Owl-carousel and lightbox together? Or is there another solution?
Asked Answered
H

2

7

I would like to use Owl-carousel and PrettyPhoto lightbox together but before that, I would like to know if a similar all-in-one solution already exists.

To be more specific, I would like to make an inline image/video content slider gallery with caption on hover. It has to be responsive and touchable for mobile devices. If none exists yet, do Owl-carousel and PrettyPhoto work together without problems and is there a risk of conflict?

Thank's for any help.

Hautesalpes answered 1/2, 2014 at 17:25 Comment(1)
This is how you can combine Owl-carousel and fancyBox3 - codepen.io/fancyapps/pen/mqvOoz?editors=1010Warty
D
7

See my example fiddle, I included a youtube video slider.

I did not test much but Owl Carousel and PrettyPhoto seem to work well together and it's actually a nice combo.

Here is a very basic example usage:

$(document).ready(function () {
    $("a[rel^='prettyPhoto']").prettyPhoto();
    $(".owl-slider").owlCarousel();
});

You may also have a look on this jsbin I found for captions with owl carousel. I'm sure it's possible to merge both examples to get something out of it.

Good luck

Delaware answered 29/4, 2014 at 8:48 Comment(1)
Hi GabLe, I am trying to same. I am facing a problem when someone clicks on any image/logo in the carousel, It then stops autosliding. that problem is also there in your jsfiddle. when you click on any picture, It will stop auto-sliding the images, Let me know if there is any solutionHarp
E
2

You can use FooGallery

It has lightbox and owl Carousel

Emmery answered 5/1, 2015 at 7:7 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.