| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Image cache for the client implemented in JavaScript, with JQuery wrapper. This is very useful when you want to change an image in the client, but you don't want the client to keep getting the image over the network
There are two components:
JQuery plugin
//Setup
$().image('setup', {srcs: ['images/img1.png', 'images/img2.png']});
//Usage
$('.image-div').image({src: 'images/img1.png', title: 'My happy image'});
Core
//Setup
var images = new ImageCache(['images/img1.png', 'images/img2.png']);
//Usage
images.get('images/img2.png');
| Back | FazBrowse Home | New Git URL |