Full featured Image Loader Plugin For jQuery ImageLoader js - Download Full-featured Image Loader Plugin For jQuery - ImageLoader.js

Download Full-featured Image Loader Plugin For jQuery – ImageLoader.js

Posted on

This time I will share jQuery Plugin and tutorial about Full-featured Image Loader Plugin For jQuery – ImageLoader.js, hope it will help you in programming stack.

Full featured Image Loader Plugin For jQuery ImageLoader js - Download Full-featured Image Loader Plugin For jQuery - ImageLoader.js
File Size: 4.55 MB
Views Total: 2109
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
   

ImageLoader.js is an ea cross-platform jQuery image loader plugin which helps load, preload and resize images on your webpage.

Key features:

  • Gif loading indicator.
  • Resize images after resized.
  • Load images in order or at random.
  • Success/error callbacks.
  • Cache buster function.

How to use it:

1. Copy the folder ImageLoader somewhere on your server (preferably in the same folder with the page you want to add the gallery to), and then add the following js files in the head section of your website:

1 <script src="//code.jquery.com/jquery.min.js"></script>
2 <script src="jquery.dop.ImageLoader.js"></script>

2. Call the function on the target image container.

1 $(“#image”).DOPImageLoader();
2 // or
3 $('body').DOPImageLoader({'Container':'#image'});

3. Default plugin settings.

01 $(“#image”).DOPImageLoader({
02    
03   // set the container for the images that will be loaded
04   'container': ''
05  
06   // path to the loader gif
07   'LoaderURL': 'ImageLoader/images/loader.gif',
08  
09   // path to the fallback image
10   'NoImageURL': 'ImageLoader/images/no-image.png',
11  
12   // load the preloader first
13   'LoadPreloaderFirst': true,
14  
15   // load the images one after another
16   'LoadingInOrder': true,
17  
18   // none, container, fill, proportionally
19   'ImageSize': 'fill',
20  
21   // time in milliseconds for the fade effect
22   'ImageDelay': 600,
23  
24   // if true it loads the image from the server and not the one from the cache
25   'CacheBuster': false,
26  
27   // callbacks
28   'SuccessCallback': '',
29   'ErrorCallback': ''
30    
31 });

 


This awesome jQuery plugin is developed by dotonpaper. For more Advanced Usages, please check the demo page or visit the official website.

source : jqueryscript.net