Quote:
Originally Posted by Fabe
This code does NOT work for resizing jpeg files:
<p><img alt="Cover_Name" src="../Images/Cover_Name.jpg" width="100%" height="100%" /></p> The resizing taking place looks terrible.
|
Quote:
Originally Posted by Jellby
A bit safer would be "max-width=100%", which keep the images proportion.
|
I keep seeing different approaches to this issue, all of which seem (to me) unnecessarily complex. But then, I don't claim to really know what I'm doing.
What I've done is simply:
<p><img alt="Cover_Name" src="../Images/Cover_Name.jpg" width="100%" /></p>
Which appears to me to work just fine. But, if it's really that simple, I think somebody else would have figured that out a long time ago. Thus, I assume there's some good reason why this is a bad (or at least sub-optimal) approach. Can someone please explain?