The previous answers are good ones, but I'd just like to add an extra bit of information.
You would use where x and y are in pixels (however, you do not need to include 'px' after the number; pixels is implied). For instance, you could have:
in which case your image would be 50 pixels by 50 pixels. It is important to note that you can both condense the size of your image as well as make it larger (although it would appear jagged at a certain point).
Of course, resizing an image to be smaller is better for file size and bandwidth considerations in the long run and would be the better option.
It is also interesting to note that you can change the size of your image through CSS as well. In this case, you can use many other units besides pixels, including, but not limited to, em and percentages.
You would do this through the width and height (aptly named) styles, most likely in conjunction with an id on your image or as an inline style. For instance, as an inline style, you could also have:
in which case you DO need to include the px suffix (although IE and possibly other browsers may understand if you omit it).
2006-07-29 23:09:55
·
answer #1
·
answered by tedjn 3
·
0⤊
0⤋
Yes but is not recomanded
Try Irfan view for resing the pictures. in this manner your downloading size will be smaller and the user can dowload you page faster it important for some people
Use Irfanview from http://www.irfanview.com
File >Batch conversion/Rename Select batch conversion(on the bottom of the screen)> Set advanced Options >Resize
But if you want to not resize them write:
2006-07-29 21:39:29
·
answer #2
·
answered by Ana 6
·
0⤊
0⤋
you can resize your picture by writing like this:-
2006-07-29 22:56:37
·
answer #3
·
answered by Anonymous
·
0⤊
0⤋
I'm no longer definite if this addresses your drawback however here is what I do: Save the percent to my snap shots/computing device or records. Than open it in preview and ship it to PAINT. On PAINT you simply reserve it with the alternative of picking your dossier variety. So you'll be able to reserve it as jpeg/ gif/ or any of the opposite percent choices. Send to MY PICTURES. Use flickr or Photobucket to add it. Then you'll be able to edit and resize. I discover the resizer in flickr so much less complicated to make use of. Save the brand new measurement and keep to my Pictures.
2016-08-28 15:42:33
·
answer #4
·
answered by ? 4
·
0⤊
0⤋
yes there is but its really bad webdesign because you force the viewer to download a picture that bigger than the displayed one.
Just put a width="x" height="y" after your Img src code (make sure its inside the ">"
2006-07-29 21:33:53
·
answer #5
·
answered by John H 3
·
0⤊
0⤋
The height and width will be in pixels not inches,...
You can also modify the direction of your marquee.(link to page below)
If your image is going to be linked to somethint else, you could use border=0 to take that blue outline off of the image.
2006-08-02 04:38:42
·
answer #6
·
answered by *♥Mrs. Morrow♥* 2
·
0⤊
0⤋