Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll

- 2x 2x
- 1.75x 1.75x
- 1.5x 1.5x
- 1.25x 1.25x
- 1.1x 1.1x
- 1x 1x
- 0.75x 0.75x
- 0.5x 0.5x
Srcset, sizes, and picture should work with any image format the browser supports. You could also, for example, deliver WebP to browsers that support it and deliver a fallback for browsers that don't. However, in these lessons, we're going to use JPEGs, since they represent the most common use case and they'll give us the best filesize to image compression ratio.
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up-
weinian he
Full Stack JavaScript Techdegree Graduate 17,167 Points1 Answer
-
Jelena Feliciano
Full Stack JavaScript Techdegree Student 12,729 Points2 Answers
-
Andrea Monty
2,724 PointsDo I need to know about digital photography for this?
Posted by Andrea MontyAndrea Monty
2,724 Points1 Answer
-
Scott Madrid
13,228 Points2 Answers
-
Thiago Valadares Noleto Damasceno
UX Design Techdegree Student 19,908 PointsHow do image compressors work?
2 Answers
-
Heidi Jermyn Heidi Jermyn
695 Points2 Answers
View all discussions for this video
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up