Create Resizable Images With CSS | Smiley Cat Web Design
Method One uses a background image. The main disadvantage of this method (other than the fact that the image is taken out of the content) is that I couldn't find a way to keep the image in the center of the div.
Method Two — my preferred solution — places the image inside the div in the HTML. This enables it to be centered within the div (thanks to Jonathan Snook for helping out with the CSS).

No comment on this link yet. React !