Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

CSS

Ashley Keeling
Ashley Keeling
11,476 Points

background image load time issue

when i click preview everything shows up quickly apart from the background image in the header, it takes a few seconds to load, and i dont know how to speed it up or is it to do with how treehouse website preview works. thanks

1 Answer

Steven Parker
Steven Parker
231,007 Points

Is it a very large file, with high resolution?

Some image formats support an "interlaced" mode, which most browsers will take advantage to display the image quickly with reduced resolution, and then sharpen it up as it has time to load the rest of the data.

Ashley Keeling
Ashley Keeling
11,476 Points

its not a big file, but I've used browser stack and everything loads quickly, so i think it was to do with it connecting to the tree house sever. thanks