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

Async load thumbnails #43

Open superbible opened 8 years ago

superbible commented 8 years ago

I run unitegallery on my local and test it on Firefox with Firebug, and when there're dozens pictures the library just load all of the thumbnails one time, although thumbnail is not big, but when there're hundreds of them, it can still be a heavy load. If we only load 2 times of the number shown in thumbnail panel, and load rest of them in time, that'll be great! I wonder if we already have this feature (I tried to find it but failed), if not, can we add it in the future?

vvvmax commented 8 years ago

Hi. It can load inly visible thumbs. About what gallery type you are talking? And, even if it start loading together, the browser loads it in bulk chokes. I tried it with 300 thumbs and ot was ok.

On Wednesday, December 2, 2015, superbible notifications@github.com wrote:

I run unitegallery on my local and test it on Firefox with Firebug, and when there're dozens pictures the library just load all of the thumbnails one time, although thumbnail is not big, but when there're hundreds of them, it can still be a heavy load. If we only load 2 times of the number shown in thumbnail panel, and load rest of them in time, that'll be great! I wonder if we already have this feature (I tried to find it but failed), if not, can we add it in the future?

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

chrisjcalderon commented 8 years ago

What is the maximum number of gallery items (I'm using the tiles grid theme) before the plugin really slows down during initialization? In ,many cases I have 600+ items in the gallery...

Love this plug in - have implemented it many times

vvvmax commented 8 years ago

HI. the gallery right now doesn't have any ajax load balancing, so it hard for it to play large amount of images. if you see it's getting slow, please low the images number. Also, for big amount of images please use only tiles columns type. the tiles justified and nested types are waiting till all the images are loaded.

On Fri, Mar 18, 2016 at 6:36 PM, Christian Calderon < notifications@github.com> wrote:

What is the maximum number of gallery items (I'm using the tiles grid theme) before the plugin really slows down during initialization? In ,many cases I have 600+ items in the gallery...

Love this plug in - have implemented it many times

— You are receiving this because you commented. Reply to this email directly or view it on GitHub https://github.com/vvvmax/unitegallery/issues/43#issuecomment-198443345

chrisjcalderon commented 8 years ago

Thanks for your comments and suggestions. For what I need to do, I must use the tiles grid option....

I'm guessing I need to figure out how to handle larger amounts of images as it really slows down during the initialization. It would be super nice if it didnt load all images at once but rather gradually as the user paginates tru the gallery...

Thanks!

vvvmax commented 8 years ago

I'll defenetly will work on it in my further releases. for now I don't have those options, sorry. you can try to use another galleries that have this feature for your needs.

On Sun, Mar 20, 2016 at 6:47 PM, Christian Calderon < notifications@github.com> wrote:

Thanks for your comments and suggestions. For what I need to do, I must use the tiles grid option....

I'm guessing I need to figure out how to handle larger amounts of images as it really slows down during the initialization. It would be super nice if it didnt load all images at once but rather gradually as the user paginates tru the gallery...

Thanks!

— You are receiving this because you commented. Reply to this email directly or view it on GitHub https://github.com/vvvmax/unitegallery/issues/43#issuecomment-198961337

chrisjcalderon commented 8 years ago

Do you know what area in the library code I could check in case I wanted to work a bit on it (for the async load) ?

Sent from my iPhone

On Mar 21, 2016, at 4:58 AM, Max Valiano notifications@github.com wrote:

I'll defenetly will work on it in my further releases. for now I don't have those options, sorry. you can try to use another galleries that have this feature for your needs.

On Sun, Mar 20, 2016 at 6:47 PM, Christian Calderon < notifications@github.com> wrote:

Thanks for your comments and suggestions. For what I need to do, I must use the tiles grid option....

I'm guessing I need to figure out how to handle larger amounts of images as it really slows down during the initialization. It would be super nice if it didnt load all images at once but rather gradually as the user paginates tru the gallery...

Thanks!

— You are receiving this because you commented. Reply to this email directly or view it on GitHub https://github.com/vvvmax/unitegallery/issues/43#issuecomment-198961337

— You are receiving this because you commented. Reply to this email directly or view it on GitHub

vvvmax commented 8 years ago

if you want, you can play with the source. You can load the items in ug_gallery.js file. If you success, please let me know :)

On Mon, Mar 21, 2016 at 2:14 PM, Christian Calderon < notifications@github.com> wrote:

Do you know what area in the library code I could check in case I wanted to work a bit on it (for the async load) ?

Sent from my iPhone

On Mar 21, 2016, at 4:58 AM, Max Valiano notifications@github.com wrote:

I'll defenetly will work on it in my further releases. for now I don't have those options, sorry. you can try to use another galleries that have this feature for your needs.

On Sun, Mar 20, 2016 at 6:47 PM, Christian Calderon < notifications@github.com> wrote:

Thanks for your comments and suggestions. For what I need to do, I must use the tiles grid option....

I'm guessing I need to figure out how to handle larger amounts of images as it really slows down during the initialization. It would be super nice if it didnt load all images at once but rather gradually as the user paginates tru the gallery...

Thanks!

— You are receiving this because you commented. Reply to this email directly or view it on GitHub < https://github.com/vvvmax/unitegallery/issues/43#issuecomment-198961337>

— You are receiving this because you commented. Reply to this email directly or view it on GitHub

— You are receiving this because you commented. Reply to this email directly or view it on GitHub https://github.com/vvvmax/unitegallery/issues/43#issuecomment-199246314