-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Images loaded by ajax #129
Comments
Any answer? |
Hi, var gallery = $('#gallery').lightGallery();
$('#load-more').on('click', function() {
gallery.destroy();
gallery = $('#gallery').lightGallery();
}); |
Thanks so much sachinchoolur! That was a huge issue on my plugin and now its working fine. I`ll put considerations and show LightGallery plugin on my codecanyon plugin page Thanks so much! |
Finally I got resolved my problem in ajax load more new images into lightgallery:
Thanks, guys for the destroy function hint. |
Hey,
I have a issue. My gallery and LightGallery are working perfectly but I have a Load More button that load more photos using ajax. So I call LightGallery function again and does not work well.
Example
http://instagramwordpress.rafsegat.com/
Thanks so much and beautiful plugin BTW
The text was updated successfully, but these errors were encountered: