Tag: Images
-
Improve Largest Contentful Paint (LCP) by removing image transitions – Performance @ Shopify
PermalinkImage transitions are a technique used to animate images as they appear on screen. Examples include scaling or fading the image into view for visual flare. However, often these transitions are implemented in a way that causes a large degradation in performance and thus user experience.
We worked with Case-Mate to fix this issue on their website, resulting in a 6 second improvement in Largest Contentful Paint (LCP)! In this case study, we’ll walk through the experience and the steps we went through to make this improvement.
-
Writing great alt text: Emotion matters - JakeArchibald.com
PermalinkThe relevant parts of an image aren’t limited to the cold hard facts. Images can make you feel a particular way, and that’s something that should be made available to a screen reader user.
-
If I work really hard on my Open Graph Images, People will Share my Blog Posts—zachleat.com
PermalinkSmart stuff (as per his always) from Zach on how he’s automating the process of creating custom Open Graph images for his blog posts.
-
The performance effects of too much lazy-loading
PermalinkThis post summarizes how we analyzed publicly available web transparency data and ad hoc A/B testing to understand the adoption and performance characteristics of native image lazy-loading. What we found is that lazy-loading can be an amazingly effective tool for reducing unneeded image bytes, but overuse can negatively affect performance. Concretely, our analysis shows that more eagerly loading images within the initial viewport—while liberally lazy-loading the rest—can give us the best of both worlds: fewer bytes loaded and improved Core Web Vitals.
-
Maximally optimizing image loading for the web in 2021
PermalinkA smart little list of optimizations for loading images efficiently. Using the bytes if the image as a hash for automatic cache busting if the image changes is particularly clever.
-
Reducing motion with the picture element
PermalinkI always associated prefers-reduced-motion with CSS, but of course the picture element accepts media queries!
A quick post from Brad showing how you can use the
picture
element to serve up a static image instead of an animated gif when the “reduce motion” preference is enabled.Examples like this are why I love how the whole suite of responsive images standards (
srcset
,sizes
andpicture
) turned out. I know some weren’t as pleased with the final product, but there’s so much darn flexibility (ahem) here to enable us to account for scenarios, like this, that only really emerged after those standards were created.
-
AddyOsmani.com - Native image lazy-loading for the web!
PermalinkIn this post, we’ll look at the new loading attribute which brings native <img> and <iframe> lazy-loading to the web!
Exciting to finally see this ship! Folks have been asking for a standards-based way to support lazy-loading images for years.
Gives me hope that maybe, someday, we’ll have element queries.
-
Text descriptions and emotion rich images – Tink
PermalinkA good alt text can conjure up wonderfully stimulating mental images. A friendly smile is the same in print, photo or wax crayon. Whether you listen to an image or see it, the emotional response is the key factor, so why should we recommend that these emotion rich images should be given a null alt text and hidden from screen reader users?
-
Building the Google Photos Web UI – Google Design – Medium
PermalinkWhat a fantastic deep-dive! Antin walks through how Google Photos built a performant photo grid in great detail. There’s a lot of careful thinking in here and some clever solutions.
-
Saving you bandwidth through machine learning - Google
PermalinkThe smart folks at Google are now using a technology called RAISR to shave up to 75% off the file size of the images they display. It uses machine learning to enable it to be much more intelligent about the upsampling methods applied to images. Clever stuff!