148
rated 0 times
[
152]
[
4]
/ answers: 1 / hits: 16484
/ 13 Years ago, wed, july 27, 2011, 12:00:00
I need to set maximum height and width of a image in <img>
tag. For example say max size is 400x400 px so if the image size is smaller than this then it will show the image as it is and if size is bigger then this then it should be compressed to this size. How can I do this in html or javascript?
More From » html