Auto-resizing images on Mobile Site

If you create mobile site and you would like to make the image width 100%, this CSS you use for that,
set the CSS of your images to automatically take-up all the horizontal space available on the screen:

img {
width : 100%;
height : auto;

This will set each image to completely fill its parent element horizontally while maintaining its aspect ratio.
Official wiyono blog