View Full Version : Large Background Images?
mrhines1
January 19th, 2009, 05:39 PM
Is there a certain way to include a large background image on a web page?
Here is an example: http://365daysofastronomy.org/
This site has a large photo for a background but it is a non-repeating image. I guess my questions are:
What format would be best to retain quality but ensure small file size?
What size should the image be so that it will fill the entire browser for most people?
Any other tips?
Thank you!
mrhines1
January 22nd, 2009, 03:42 PM
Anybody?
simplistik
January 22nd, 2009, 04:00 PM
There is no specific image size that will fit for most people, there's no such thing. So you need to make it as big as you feel is necessary. The file type should also be whatever file type is the smallest, while maintaining a quality which is acceptable to you. Generally that tends to be a JPG or a PNG. This guy is using two background images, the stars which does repeat on the <html> and then the "content" background which is used on the <body> which again ... is whatever size he deemed acceptable.
mrhines1
January 23rd, 2009, 01:21 PM
Thanks! That makes sense. It's kinda what I was thinking but I didn't know if I had missed something somewhere. I always try to keep file sizes down so I wasn't sure if there was some way to include a large image and not effect file size much.
redelite
January 23rd, 2009, 01:26 PM
Also to add on, you might want to make sure that the ends of the image don't just stop. And then make the background color the same as those edges so the image flows into the background. This will please those people with ridiculously high resolutions.
As for file type and size, I generally would go with a jpeg that is anywhere from 60-80 quality. This, of course, depends a lot on the detail of the image. But, just play around with the settings until you like it.
Oh, also, don't forget to center the image. ;)
Just my :2c:
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.