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 Compass Basics Compass Helper Functions Image Dimension Helpers

Including two different images to support retina or just scaling down the retina image, as in this video?

When I search the internet, most people recommand using two kind of images, one with a @2x postfix, and one "normal" image. But in treehouse courses, I often see them simply scaling a retina image down, and use one image for both retina and normal displays.

What are the pros and cons about the 2 different techniques ?

1 Answer

The main problem with just scaling down the 'retina' images is that the file size is larger than required for lower resolution displays.

The main advantage is that you have fewer files stored on a server and the CSS would be simpler.