NationStates Jolt Archive


Pictures & Logos*

01-12-2003, 11:06
How do I resize the image?
1. Reduce the size of image in my own website?
2. Is there any other fixed way?

Glenndiator State Reports.
01-12-2003, 12:52
well, it's quite simpl, inside the IMG src bracket you type width="(the number of pixels wide you want yourpicture)" and Height="(no# of pixel you want your picture to be high)" for example, if i anted to magke the picture image.jpg 400 pixels wide by 200 pixels high i would type:
<IMG SRC="image.jpg" width="400" height="200">

you can also put the width and height in percentage form so it would be:
<IMG SRC="image.jpg" width="(e.g.)250%" height="(for example)50%"


when putting the size as a percentage you just have to remember to add the % sign at the end of the number otherwise it will be interpreted as pixels instead.