Get new jQuery plugins just once a week
March 4, 2014
Small plugin to deal with responsive image delivery.
data-img is a small jQuery plugin to deal with responsive image delivery depending on screen width.
It has got the following options :-
- sml: The breakpoint at which the small file will be shown (default = 400)
- med: The breakpoint at which the medium file will be shown (default = 800)
- lrg: The breakpoint at which the largest file will be shown, this size will load if screen width is above this (default = 1000)
- resize: true/false as to whether this will work on browser resize (default = false)
Created by Two Blokes
Sign up for our weekly newsletter.