Quote:
|
also try and make sure you squash it in proportion or it'll look odd!
|
Actually, just specify the height *or* the width, and the other will fall into place in the proper proportion.
It's a good idea to get your hands on some software that will let you resize the images, as opposed to relying on your html code to do this. This is particularly true if the images are very large, and you only want to display a smaller version of them. What happens is that the server still has to deliver the larger file in order to produce the image, it just displays it smaller. So you're using up more bandwidth and making people wait for a bigger file than you need to. When I first started I didn't know about this, and you should have seen my little images l.....o.....a......d
This is not to suggest that you shouldn't use the height/width attributes at all. Even if you have your images sized just the way you want them and ready to be included in your pages, reiterating one of the dimensions in your img tag is still a good idea. This is because with a dimension specified, the browser will alot the appropriate amount of space for the image even before it loads. That way the text will arrange itself around the images the way you intent for it to, right off the bat. That's as opposed to having the page shift around as the images load. (More of an issue for people with dial-ups, I guess, but many are still out there.)
I once had a page with lots and lots of pics on it, and I wanted to put some internal links to specific places on the page (here's *this* pic, etc.) - without having specified any image dimensions, my links to the spots where I'd put the anchors were useless. The page would start to load, the visitor would be taken to the place on the page where the pic *would* have been if none of the images above it actually took up any room. After everything had fully loaded, that position was completely useless, being halfway up the page from where the image in question was.
Blah blah blah. My point is, it's a good practice to use height or width, sometimes for reasons that might not affect you right away.
About the photo editing software, if you don't have the cash, don't feel like you have to buy the latest version of photoshop for 700.00 or whatever it goes for these days. It's a great program, and I'm hoping one day I can get a copy, but there are lots of simpler programs out there that just do the basic stuff and cost way less. I actually bought a stripped down version of an older photoshop (LE 5) a few years ago for 50.00 on ebay (I was able to liscence it - it wasn't bootleg or anything) and it actually has alot of features. Not cutting edge by a long shot, but there's lots you can do with it. Anyway, I just didn't want to leave you thinking that you can't resize images without selling your first born.
Good luck,
AmyD