Skip to content

Latest commit

 

History

History
36 lines (19 loc) · 4.12 KB

RICG-newsletter-2015-06-29.md

File metadata and controls

36 lines (19 loc) · 4.12 KB

Diving into the weeds

I’ve been highlighting Jason Grigsby’s superb Responsive Images 101 posts for weeks. They’re a series clear, concise posts which neatly break the new respimg features down into their component conceptual parts.

I want to lead this week with the opposite of that: When Responsive Images Get Ugly, by Taylor Hunt. If Jason’s posts are the 101 course, this is a graduate seminar. Big, messy, in-depth, and exploratory.

The post gets into the weeds. Topics include: using picture to supply an x-descriptor fallback srcset to a preferred w-descriptor srcset; dealing with the lack of h descriptors when marking-up height-constrained images; and stuffing respimgs into inline SVGs (!?). But my favorite part is the bit about the heretofore untapped power of the media attribute. We generally think of the new responsive features as ways to adapt images to different screen sizes, pixel densities, and maybe network speeds. But media queries allow us to do much more, marking up images which tailor themselves to all sorts of contexts. One small example: replacing animated gifs with still images on e-readers and other devices whose media="(update-frequency: slow)". A good and eye-opening article.

Client hints lurch forth

After submitting a patch implementing Content-DPR header support to Webkit last month, only to see discussions around it stall, Yoav posted an Intent to Ship client hints thread to Blink-dev a couple of weeks ago… only to see discussions around it stall. Good thing we’re nothing if not persistent.

Compress, automate, deliver

Yoav and a few of his Akamai chums are getting together to write a book! Based on Guy Podjarny’s overview, High Performance Images will be a book-length treatment from some of the smartest minds in the business about optimal compression, delivery, and backend automation strategies.

Dave Newton just published a stellar article explaining his optimal ImageMagick resizing/compression settings, which concludes with links to a bunch of immediately-implementable tools for bash, Node, PHP, and Grunt. Explanatory, actionable, excellent.

We speak

  • Speaking of Dave, he just spoke about Improving Performance With Responsive (And Responsible!) Images at CSS Conf.

  • And Jason Grigsby flew across the Atlantic to answer the question, Why Responsive Images at the final Responsive Day Out in Brighton, England. Notes / slides / audio.

A bummer, a book, and a correction

See you in a couple of weeks!

—eric