Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add thumbinail on owlcarousel update #23

Open
Mixali4 opened this issue Mar 22, 2017 · 1 comment
Open

Add thumbinail on owlcarousel update #23

Mixali4 opened this issue Mar 22, 2017 · 1 comment

Comments

@Mixali4
Copy link

Mixali4 commented Mar 22, 2017

Hello!
I'm initializing carousel like so:
$('.owl-carousel').$carousel.owlCarousel({ items: 1, dots: false, margin: 5, loop: true, thumbImage: true, thumbs: true, });
At moment of initialization it have one image. Thumbinail is rendered OK.
I need to add image to owl. I'm doing it like so:
$('.owl-carousel) .owlCarousel('add', '<div><img src="' + list.createFileUrl(file) + '"></div>') .owlCarousel('update');
After this, carousel updated OK, but thumbinails did not.
Is there any way to update thumbinails when item added to main owl.carousel?
Thanks.

@josegarglex72
Copy link

I have same issue.
Any update please?
Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants