Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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.