🔔 Alert..!! Get 2 Month Free Cloud Hosting With $200 Bonus From Digital Ocean ACTIVATE DEAL

This jQuery Plugin make your existing images responsive without creating new images.Responsive Img is a solution to all which combines a jQuery plugin with a PHP image pre-processor.The plugin enables the page to change the src attributes of the images in parallel to the container width and the PHP file auto-creates the new/resized images.Images are only created when requested for the first time and this process won’t be repeated for future requests to perform better.

Image Effects PHP Plugins Responsive

Documentation

Responsive-Img

Responsive Img is a jQuery plugin that changes an image's src attribute based on its container's width.

The plugin requires only 2 files (10kb total uncompressed).

ResponsiveImg.com

Basic usage

$("img").responsiveImg();  or  $("img").responsiveImg({   breakpoints : {     "_small":360,     "_medium":780,     "_large":900   },   srcAttribute : "src",   pathToPHP : "js",   createNewImages : true,   jpegQuality : 90,   callback:false });

Default Options

{ 	breakpoints : {     "_small":360,     "_medium":780,     "_large":900   },   srcAttribute : "src",   pathToPHP : "js",   createNewImages : true,   jpegQuality : 90,   callback:false }

You May Also Like