Following that line of thinking, do not forget that an image will be
larger still on a 21inch monitor than on a 14inch monitor.
The important factor is browser window size - you can ignore screen
resolution and monitor size since these will change the size of images
and text proportionately, and keep the same page layout all the time,
after all, 14px high text and a 200x300px image will be 14px high text
and 200x300px image whatever the screen resolution or monitor size.
However, changing the browser widow size will change the page layout,
unless you use a fixed layout design - and with a fixed layout design
there is no need to change image sizes.
Also, screen resolution has nothing to do with browser window size
(apart from setting the maximum size). My screen resolution is
2560x1024, my browser is set to open at 800x600 - your images if
changed to fit my screen resolution, will swamp the browser.
If you wish to use images that fill the screen at all browser sizes,
then set the width to 100%, and do not set the height, the picture
itself must be made to fit the largest window you expect your users to
use (which may make them a lot larger than they need to be if you
think everyone opens the browser full screen) - you can often shrink
an image without a lot of distortion, but you can only rarely stretch
one without ruining it.
--
Ron Symonds
Microsoft MVP (FrontPage)
Reply only to group - emails will be deleted unread.
Re: Dynamic Image Size Based on Screen Resolution/SizeWell, 800x600
screens will make the image appear larger than someone at 1280x1024 as
well as the size of the browser window.
No, And what does the resolution have to do with it? If you wanted
to account for anything it should be the size of the browser window.
Regards Jens Peter Karlsen. Microsoft MVP - Frontpage.
-----Original Message-----
From: Karl Burrows [mailto:
[email protected]]
Posted At: 26. juni 2005 07:45
Posted To: microsoft.public.frontpage.programming
Conversation: Dynamic Image Size Based on Screen Resolution/Size
Subject: Dynamic Image Size Based on Screen Resolution/Size
Is there a way to configure images on a Web site to resize as needed
based on the user's resolution?
Thanks!