resrc.js - Responsive Image Library
resrc.js is a small, mobile friendly responsive image JavaScript library that produces pixel perfect images on demand. The library requires your images to be served via ReSRC - The Responsive Image Service. Link your images to our simple service and let us take care of everything!
Register your domain for a FREE TRIAL.
- HiDPI (retina) Support
- CSS background Support
- Plugin support for features such as: art direction, sharding etc
- Pinch and zoom Image support (Currently iOS only)
- No multiple requests for the same image
- Remote image fallback
- Pixel rounding support
- Placeholder image support
- Supports the popular ‘Mobile First’ approach
- Optional http image requests for image down sizing
- Does not use device detection via user-agents or cookies
resrc.js has extensive browser support on Windows/Mac/Linux/iOS/Android.
We have made sure it works on Internet Explorer 6 and above.
Simple | Custom Options | Preview approach (aka: Mobile First) | Art Direction
Simple | CSS Background | Preview approach (aka: Mobile First)
resrc.js supports plugins so you can add any additional functionality you may require. Learn More
For a full list of releases and changes please see the CHANGELOG.
Please see DOCUMENTATION.
To run the tests, simply run npm install
if you haven't already, followed by npm test
.
The repository does not contain a minified resrc.min.js file - this is only generated
for RELEASES. To build your own minified copy
for use in development simply run npm install
if you haven't already, followed by grunt build
.
This will generate a resrc.min.js file in the dist
subdirectory.
resrc.js is actively developed by Dom. Ed works his magic server side, building the core engine.
Dom Fee | Ed Thurgood |
Please see the CONTRIBUTING file for guidelines.
Please get in touch via: EMAIL.
Copyright (C) 2014-2015 by ReSRC LTD Licensed under the GNU GENERAL PUBLIC LICENSE, Version 2, June 1991
Please see LICENSE.