images width and height

liunx

Guest
i got problem with a images<br />
<br />
when i create a image and than use height="X" or width="X". but when i increase for example height, it also makes larger in width it retraines it proportions.. how can i stop the image from also increasing in width, when i only want it to increase in height or vice versa<!--content--><img src=http://www.htmlforums.com/archive/index.php/"file.png" alt="some text about the image" width="50" height="200" border="0"><br />
<br />
If you use both width and height, then you can squash it to any ratio you want.<br />
<br />
You are better off using a graphics program to also shrink the resolution of the image, and the number of KB file size too. That will speed up the load time of the page.<!--content-->Hi there yoda,<br />
<br />
Are you refering to resizing in an image editor such as 'Paint Shop Pro' or 'Photoshop' ? <br />
If so you must uncheck 'preserve aspect ratio' <br />
<br />
coothead<!--content-->
 
Back
Top