I have images of various sizes from external source and I want them fit to height 100 or width 100 and keep their proportinal size... so I can not use
height=100 widht=100 as attributes... so right now I am changing only width but when comes picture wide 20 and high 100 than it change widht to 100 and hight to 500 and in this case I need to keep height 100.

Is there some simple CSS or something else I could use?