how to display an image inside <img> tag always in full dimension

Posted by understack on Stack Overflow See other posts from Stack Overflow or by understack
Published on 2010-03-14T20:37:32Z Indexed on 2010/03/14 20:45 UTC
Read the original article Hit count: 199

Filed under:
|
|
|
|

I've an img element with dynamically changing image. I always want to show this image in its full dimension.

So, I think, I've to dynamically change width and height attributes in img tag.

How can I do this in php or javascript?

© Stack Overflow or respective owner

Related posts about html

Related posts about php