vvvmax / unitegallery

Unite Gallery - Responsive jQuery Image and Video Gallery Plugin. Aim to be the best gallery on the web on it's kind. See demo here:
http://unitegallery.net
MIT License
530 stars 157 forks source link

How load pictures from javascript array ? #46

Open visualight opened 8 years ago

visualight commented 8 years ago

Hello,

I need to know how iI can load pictures dynamically from a javascript Array or an ajax call (from a url). Thank you

vvvmax commented 8 years ago

Hi. I dont have something ready for this. You can produce gallery html and then call the gallery js function

On Monday, December 21, 2015, Raphael M notifications@github.com wrote:

Hello,

I need to know how iI can load pictures dynamically from a javascript Array or an ajax call (from a url) Thank you

— Reply to this email directly or view it on GitHub https://github.com/vvvmax/unitegallery/issues/46.

davidlb commented 8 years ago

Yes, it would be nice to be able to add items to the gallery from API. It would be useful for infinite scroll gallery.

vvvmax commented 8 years ago

HI. now the add feature is not exists in the gallery. I'm planning to add it in the further versions of the gallery, but now it's absent, sorry.

On Thu, Jan 21, 2016 at 5:19 PM, David Le Brun notifications@github.com wrote:

Yes, it would be nice to be able to add items to the gallery from API. It would be useful for infinite scroll gallery.

— Reply to this email directly or view it on GitHub https://github.com/vvvmax/unitegallery/issues/46#issuecomment-173603378.

rubentlc commented 8 years ago

Hi,

Any news about this thread? I'm developing a mobile app and found this lib very cool! But without enable add photos dynamically it comes unused for me =/.

Thanks

h0lg commented 8 years ago

Yeah, big upvote for this feature from my end too! paging or infinite scrolling would be really neat. I need to reload the gallery after a photo upload and subsequently select the just uploaded photo. This gist shows my approach. It requires destroying and rebuilding the gallery and is therefore not as smooth an UX as it could be, but the best I could come up with until the API permits modifying the underlying item collection.

vvvmax commented 8 years ago

HI, thanks for the suggestions. I'm working now on the admin sorting (in wp version), then will start working on the ajax add items, and make a documented replace items option as well.

On Wed, Oct 26, 2016 at 2:12 AM, Holger Schmidt notifications@github.com wrote:

Yeah, big upvote for this feature from my end too! paging or infinite scrolling would be really neat. I need to reload the gallery after a photo upload and subsequently select the just uploaded photo. This gist https://gist.github.com/forger/f091bdd572722acb36ce92043f51646c shows my approach. It requires destroying and rebuilding the gallery and is therefore not as smooth an UX as it could be, but the best I could come up with until the API permits modifying the underlying item collection.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/vvvmax/unitegallery/issues/46#issuecomment-256215162, or mute the thread https://github.com/notifications/unsubscribe-auth/AC_K_jKQiJlzlvRaxHLmBNPMhZR_4gf9ks5q3pr2gaJpZM4G5GVC .

Swaraja commented 7 years ago

Hi ,

any updates on uploading images dynamically using ajax/json .

Regards, Swaraj

Elyahou commented 6 years ago

It would be excellent to be able to add dynamically an image to an existing gallery

khoran commented 6 years ago

I would also find this feature very useful. The rest of the library works great.

FedericoBenedetti1976 commented 6 years ago

big upvote for this feature, my gallery has 100/300 photo each i'm looking how load on infinite scroll by ajax. Any news? thank's

novusbd commented 4 years ago

This guy stopped supporting the script apparently.

avihenri commented 4 years ago

I would also love to do this as trying to implement a lazyload feature but can't dynamically load the images. This seems like the best gallery as well. Wish I had known a week ago or I wouldn't have started with it!