Hello, I'm the guy who made marinayachting.it.
Basically, there are three way for big (and scaled) backgrounds: use css background-image, stretch an <img />
tag positioned: fixed or use both ways.
The best way is to use css background-image
with the new cool background-size
property. Firefox (since 3.6, i think), Safari, Chrome and Opera support it (with vendor prefixes, for now). The bad guy is (guess!) Internet Explorer. So, the trick is to target IE and Firefox < 3.6 via javascript and inject a streched <img />
tag in the document onready
event.
For making things fast, export the image no larger than 1024px (on some kind of images, even smaller resolution works well) and not more than 100kb in size. A fast server or even better a CDN will help, of course.
Note that IE prior to version 8 renders streched images in a very ugly way (linear scaling) and is slooow! Using the proprietary vendor css -ms-interpolation-mode:bicubic;
will help a bit, but will also make that crappy browser even slower. For best quality and performance you can use the AlphaImageLoader
filter. Yes, the same used for solving png transparency issues in the old IE6. For Example. the backgrounds and the animated carousel in the gallery sections of marinayachting.it are all loaded with the AlphaImageLoader
filter. The carousel in particular, wich uses slightly streched pngs animated via javascript, was running at 0.5fps without the filter!
Hope that helps. If you have more questions feel free to ask!