Responsive Images
Summary
Did you know that images account for more than 60% of the bytes on average needed to load a web page?
In this course you will learn how to work with images on the modern web, so that your images look great and load quickly on any device.
Along the way, you will pick up a range of skills and techniques to smoothly integrate responsive images into your development workflow. By the end of the course, you will be developing with images that adapt and respond to different viewport sizes and usage scenarios.
Expected Learning
Quick load times and responsive content leads to higher conversions. There's much more to images on the web than <img>
. Attributes like srcset
, markup techniques using CSS, fonts, and inline images, and the brand new <picture>
element are now available to help you create the best possible experience for your users. This course will help you ensure that you deliver the highest quality images with the fewest possible bytes.
Syllabus
Lesson 1 - Getting up and Running
Before you start working with responsive images, you need to start debugging on your mobile devices. This lesson will help you get started with Developer Tools and mobile debugging.
Lesson 2 - Units, Formats, Environments
You can't optimize what you can't measure. In this lesson, you will start with comparing different kinds of images on the web and getting familiar with different units you can use to scale them.
You will also get a chance to set up your development environment so that responsive images become a painless part of your workflow.
At the end of the lesson, you will start working on the responsive blog project, where you have a chance to apply responsive image principles in a real-world scenario!
Topics covered:
- Sizing Images
- File Types
- Automation Tools
Lesson 3 - Images with Markup
Not all graphics need to be .JPGs or .PNGs. This lesson dives into using markup techniques like CSS and icon fonts to create responsive graphics. While markup techniques are awesome because they are natively responsive, they are often extremely lightweight, requiring a fraction of the bytes of traditional images!
At the end of the lesson, you will replace extraneous images with markup techniques and take advantage of font icons to add social media icons to the responsive blog project!
Topics covered:
- CSS Techniques
- Inlining Images
- Unicode
- Icon fonts
Lesson 4 - Full Responsiveness
Here comes the full monty! In this lesson, you will make your images fully responsive using the new <picture>
element! Along the way, you will use the srcset
and sizes
attributes. You will also learn the importance of alt
attributes for your visually impaired users.
At the end of this lesson, you will make the blog project fully responsive, as you implement <picture>
to display beautiful images across a range of device widths and pixel ratios.
Topics covered:
<picture>
sizes
attributesrcset
attributealt
attributes
Required Knowledge
You should be comfortable working with simple HTML, CSS and JavaScript. Experience with image creation and processing tools will also help.
Free
Intermediate
2 weeks
Cameron Pittman
Coursearena