Fotorama slider - how to Lazy Load images and then unload them when not visible? -


so i'm using fotorama.io on site , have large gallery of images in slider (60-80) followed suggestion in manual use lazy load not load images @ once.

but when browse images , reached 40+ images, browser memory overloaded , browser starting respond slowly, have memory restart plugin firefox shows memory build high.

is there way use lazy load , keep example 10 images, , unload not visible or images far 10+ unload memory cleared?

it interesting question! don’t possible unload images memory, think browsers have manage automatically. way, fotorama detaches invisible images. Аs know best practice large galleries.


Comments