Changing the size of an image

admin

Administrator
Staff member
I have a picture that is 150 pixels by 200 pixels. How can I increase the size of the picture by 100%, and change the width-to-height ratio to 2:1?<!--content-->irfanview <!-- w --><a class="postlink" href="http://www.irfanview.com">www.irfanview.com</a><!-- w --> freeware<br />
<br />
:cool:<!--content-->Well, You can use a graphics prog (ie irfanview), BUT if you increase it in size by 100%, it'll probably look like trash. If you change it's ratio, you'll want to crop it, nit just re-size is, or it'll look all disproportionate. You CAN define the width and height in the img tag though...like this:<br />
<img src=http://www.htmlforums.com/archive/index.php/"yourimage.jpg" width="300" height="150" alt="Short Text to Describe Image" /><br />
That would display yourimage.jpg with a width of 300 pixels (increased by 100% from 150) and a height of 150 pixels (to make a 2:1 width:height ratio)<!--content-->
 
Back
Top