QUOTE(usws @ Feb 10 2006, 11:47 PM)
the HTML "<img src="*" width="*" height="*"></img>
i think so... Correct me if im wrong!!!
that is not RESIZING.
RESIZING includes actual change of dimension of an image, therefore reducing the size of the image in the process.
the code you presented only instructs the browser that interprets the HTML tag to display the image based on the stated WIDTH and HEIGHT but in no way actually resizing the image. loading time will still be the same as the filesize is still the same while the display of the image will be HORRIBLE (yes, it's so horrible it deserves CAPS) as the image quality will be affected. not referring to the actual picture quality, but rather the quality seen on the browser - in short a good quality picture turning out to be less good.
so yes, you're wrong. to resize image you need an application that can do actual resizing.
try putting a 6 megapixel shot on your website. you do it the WIDTH/HEIGHT way and i'll do it resized from an application and display with default specifying WIDTH/HEIGHT
i guarantee you mine will not only look nicer but it will load faster as well, thus improving the user experience over the website.
then perhaps you'll ask - what's WIDTH / HEIGHT attribute for then? well the thing is that the additional WIDTH / HEIGHT attribute also helps the browser in displaying the image faster without having to figure out the image's width / height (yes, i've read about this some where..............)
it's also useful when you have a transparent or single colored image that you use to fill up spaces (yes, i use that).
This post has been edited by goldfries: Feb 11 2006, 12:25 AM