Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Better performance for slideshows

In a recent project, I used Nivo Slider to build a slideshow. This is a solid solution, with useful options, but my users complain that it is slow to load. And they are right, because the script needs all the images loaded to run.

I am looking for tips to improve performance, and maybe recommendations on solutions to replace Nivo Slider. I mean of course advice beyond the obvious (like using lighter images and reducing the total number of slides).

Edit: to clarify the context, the images are pulled from a gallery maintained by the users. I have no control on the images themselves.

like image 786
Christophe Avatar asked Apr 05 '26 17:04

Christophe


1 Answers

I would suggest you consider a progressive loading slideshow whereby the images are loaded prior to being shown. Take a look at the jQuery Cycle plugin, specifically this example which shows how to add a slide to the slideshow after it has started (progressive) and this one which shows how to preload images being added after the slideshow has start.

Good Luck!

like image 165
dSquared Avatar answered Apr 08 '26 05:04

dSquared



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!