I'm already using @fbjest@twitter.com to test `images-responsiver`, my .js package for easier responsive images, but I wonder how to use it to test my plugin wrapping it for @eleven_ty@twitter.com… 🤔

github.com/nhoizey/images-resp

nho.io/n/2020/09/17/1/

@welcomattic not at all, they are (or will be) complementary.

Daltons computes (actually "will" compute) the optimum image widths from analytics, for the `srcset` attribute.

While images-responsiver creates the HTML to list these image widths and the relevant `sizes` attribute, to help the browser download the right image.

@nhoizey ok, thanks for the explanation.
I contributed a PR yesterday on daltons, that attempt to add the computation on « perfect widths » with k-means algorithm.
I’m very interested in solutions easy to use for developers to manage responsive images markup

Follow

@welcomattic wow, awesome, I’ll check that ASAP! 👍

Sign in to participate in the conversation
La Quadrature du Net - Mastodon - Media Fédéré

Mamot.fr est une serveur Mastodon francophone, géré par La Quadrature du Net.