Lightgallery: Append more items and keep slide

Created on 10 Feb 2017  路  4Comments  路  Source: sachinchoolur/lightGallery

Before the the last slide, I have an ajax calls for more items. I am tried using destroy() and re-initial the gallery (found here #129) but I does not work like expected. The slide is closed due to the event destroy. Is there any trick to solve this problem?

Most helpful comment

I need that option too

All 4 comments

Hi @lyhongpon ,
It is not possible at the moment. if you call the destroy method, it will completely close the gallery. You can't append images when the gallery is opened. I'll let you know if I include this feature.

Thanks. Can't wait to have this feature.

I need that option too

when gallery is playing before it destory. how to repaly the gallery after re-initial the gallery.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

andrew--r picture andrew--r  路  3Comments

kachurun picture kachurun  路  4Comments

FDiskas picture FDiskas  路  5Comments

dphermes picture dphermes  路  7Comments

serjrd picture serjrd  路  6Comments