Welcome to WebmasterWorld Guest from 18.104.22.168
Forum Moderators: incrediBILL
Can I specify both the size and resolution of my existing images?
It is possible for a browser to read the pixel width and height directly from the image file itself - and if you do not define width and height attributes for the <img> element, that is exactly what will happen.
Use PaintShop Pro (or whatever) and rescale the images, save under another name and display those on your website.
Unless you have specific need to rescale on demand (which will use a lot of CPU power) this is the only sensible solution. Specifying the image size in html can result in extremely ugly rendering. I always remove the width and height attributes from <IMG> tags. That way if I change the native size of an image, I don't have to edit every page it appears on.
Hence when you say an image is so many pixels wide, the resolution is irelevant :-)