October 2017
Intermediate to advanced
370 pages
8h 57m
English
There is yet another improvement we can make to our thumbnail images (this will be the last one for now). Right now, we have different resolutions for each of our images, specified by the srcset attribute, and the browser will choose the most appropriate one based on the viewport size. One issue with this is that it can be harder to see detail in the smaller images as they are scaled down. For example, an image might contain text that is legible at higher resolution, but not at lower resolution. In these cases, it can make sense to edit the image, to crop it, or zoom into some particular detail, and provide a new image that is more visually suitable at lower resolution.
We saw earlier ...
Read now
Unlock full access