lunasorcery

as seen on cohost!

30-something poly kinky queer mess
recovering former game dev
dating: @estrogen-and-spite & @RobinProblem


personal blog (with rss!)
moonbase.lgbt/
other website
tiredand.gay/

lunasorcery
@lunasorcery

how the hell did I end up being excited about having written like 10 lines of code to make the social media embed thumbnails for my blog slightly better:

  • opengraph og:image images are now hard-cropped to 1.91:11— this resolves an issue where Iframely would discard the thumbnail if the aspect ratio was too wide.2 Previously I would just use the page header image verbatim and let the various social platforms crop it for me.
  • Twitter summary_large_image cards have the same crop applied, and also now have the headline hard-burned into the image, because Elon sucks and decided to hide headlines from such embeds. I may still decide to go back to the smaller summary card type which does still display the headline by default.

  1. It seems to be the commonly used ratio for such things.

  2. I didn’t go to the extent of figuring out the actual threshold, nor could I find it documented anywhere.


lunasorcery
@lunasorcery

It’s been a rough couple weeks mentally so I guess it’s just nice to have something where I feel productive and in control


You must log in to comment.

in reply to @lunasorcery's post: