Click to See Complete Forum and Search --> : Automatica Image Resizing???


Joseph Witchard
02-10-2008, 07:31 PM
I didn't know which forum this thread really belonged in. Since its main topic is images, I chose to put it here.

If I were to create a background image for my message board, how would I know how to keep it from being so large that my users wouldn't have to scroll all over the place to see it, while still keeping it large enough for the resolution to still look decent? Is there a way to automatically resize images to the user's browser window?

yamaharuss
02-10-2008, 07:36 PM
Can you be more specific? Is this a repeating image? A centered image? How does the image work with the page content if at all?

Centauri
02-10-2008, 07:48 PM
If the image is a background, then it will only be displayed full size, and be clipped by the container. The only way to have it resize is to place it in the html as an image, and absolutely position the contents over top, but I strongly discourage this as any browser resizing will result in loss of image quality - wide screen monitors would also cause the image to be stretched, which may not look good.

yamaharuss
02-10-2008, 08:49 PM
You can use CSS to place the image in the absolute center. If the image is under 800px you should be OK for any resolution.

Joseph Witchard
02-10-2008, 10:20 PM
What I was thinking of doing with my background is making an image and then using the CSS code background-attachment: fixed;. Mainly what I'm worried about is I don't want to make it so wide that it will cause people to have to scroll to the side to see the complete image.

yamaharuss
02-11-2008, 06:29 AM
How big is the image?????????

Joseph Witchard
02-11-2008, 04:10 PM
How big is the image?????????

lol I don't know yet because I haven't even made the image yet. Everything I'm talking about is strictly theoretical;)

yamaharuss
02-11-2008, 04:13 PM
If you're using the image as a background, the page is NOT going to scroll to the image size. That's why I said, if you keep your image under 800px and center it, you should be OK for all (99.9%) screen resolutions.

Joseph Witchard
02-11-2008, 09:44 PM
All right, well that's all I was wanting to know.

Thanks!