Responsive Img swaps out an image's src attribute based on its container's width when the DOM is ready and when the browser is resized.
Using a PHP file, Responsive Img creates new images on the fly the first time they're needed and puts them on your server.
Responsive Img takes pixel ratio into account and uses larger images for Retina display and displays with other pixel ratios.
jCookies, a jQuery plugin, makes getting and settings HTTP Cookies a breeze. jCookies allows the storage of any type of data: strings, arrays, objects, etc. Data is stored in the cookie as JSON data. Also you can retrieve data using server side code such as C# and PHP.