Some examples of the jQuery Respify responsive images plugin below, visit the project home for more information.
Image used comes from the Andreas Klein responsive images example at the responsive image group
A default responsive image, set to an image tag within the picture element
A responsive image but instead of setting it on an image tag within the picture element it is set as a background image on the picture element
A responsive image, but instead of setting the image we dry run and display the resulted image src. This can be usefull if you want to supply a responsive image to some different part of your js code.