Implemented adaptive images script

From here: http://adaptive-images.com/