As they are often the largest contributor to page size and load time, bitmap images offer a challenge for the developer: balancing image quality, resolution and file size for optimimum results. Recent additions to HTML5 and CSS have made this task somewhat easier, but it is vital to start with an understanding of the basics issues of resolution, relative sizes and pixel density, before moving on to syntax and solutions:
Time: Five hours
Goals: Add responsive images to a web page, covering several design scenarios.
- Fluid Image Techniques
- Understanding Pixel Resolution
- srcset and x
- srcset and w
- Retina Background Images
Photograph by Studiolit, used under a Creative Commons license
Enjoy this piece? I invite you to follow me at twitter.com/dudleystorey to learn more.