Responsive Img is a jQuery plugin that swaps 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. Therefore, you can add Responsive Img to any site, without creating new images.
Homepage: http://responsiveimg.com/