Updated my, err, ‘colorful source snippet generation script’ to pick one of a few predefined aspect ratios, so that page layouts no longer shift as tiny, blurry placeholder images are dynamically replaced by lazily loaded images. janboddez.tech/notes/317220007

And ... realizing their `alt` texts don't quite make sense—they're automatically set to the image filename (and hidden on my site, as the images themselves are purely decorative). But: my 'Share on Mastodon' plugin passes them thru anyway. More work to be done!

Well, done. (Future 'Mastodon' images get `alt` texts only when they were explicitly set.)

Sign in to participate in the conversation
Mastodon

Server run by the main developers of the project 🐘 It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!