phocks,
@phocks@bne.social avatar

Well the actual fix for this turned out to be almost comically simple: calling res.truncated_body when fetching the preview card instead of res.body_with_limit, but hey it got accepted and merged. My code is now in Mastodon and a lot of our preview card issues should be fixed in the next release! :flower:

https://github.com/mastodon/mastodon/pull/30362#pullrequestreview-2065110847

phocks,
@phocks@bne.social avatar

^

A note just for users of https://BNE.Social we've implemented this small patch on the server ahead of the next release so you should notice preview card images behaving better for sites like Wired and The New Yorker etc. Unfortunately it doesn't fix all sites (cough The Guardian) but it's a step in the right direction. Enjoy!

anathema_device,
@anathema_device@bne.social avatar

@phocks thank you❤️

anathema_device,
@anathema_device@bne.social avatar

@phocks 👍❤️

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • DreamBathrooms
  • ngwrru68w68
  • cubers
  • magazineikmin
  • thenastyranch
  • rosin
  • khanakhh
  • InstantRegret
  • Youngstown
  • slotface
  • Durango
  • kavyap
  • mdbf
  • tacticalgear
  • JUstTest
  • osvaldo12
  • normalnudes
  • tester
  • cisconetworking
  • everett
  • GTA5RPClips
  • ethstaker
  • anitta
  • Leos
  • provamag3
  • modclub
  • megavids
  • lostlight
  • All magazines