this post was submitted on 07 Jun 2024
175 points (98.9% liked)
Fediverse
28380 readers
1399 users here now
A community to talk about the Fediverse and all it's related services using ActivityPub (Mastodon, Lemmy, KBin, etc).
If you wanted to get help with moderating your own community then head over to !moderators@lemmy.world!
Rules
- Posts must be on topic.
- Be respectful of others.
- Cite the sources used for graphs and other statistics.
- Follow the general Lemmy.world rules.
Learn more at these websites: Join The Fediverse Wiki, Fediverse.info, Wikipedia Page, The Federation Info (Stats), FediDB (Stats), Sub Rehab (Reddit Migration), Search Lemmy
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
๐๐ป No way to disable this if I don't want hashtags cluttering up my posts. And worse, it's Lemmy putting words in my mouth / speaking for me.
What an absolutely stupid way to do image proxying. Why not just dynamically re-write image URLs to use the proxy path before serving it via the API?
That way:
If you think "that's not reliable" or "too hard", I've been doing it successfully exactly that way in Tesseract with it's image proxy/cache for over 8 months (on the front end...in a cave...with a box of scraps).
This is about proxying external images, URL rewrite won't work unless the image is also downloaded and hosted by the instance (which seems even worse for many reasons).
Or am I missing something here?
You're missing a lot.
I've done exactly what I described in my comment for the last 8 months: it's been a UI feature of Tesseract since last October.
It proxies any image or direct video from any source you haven't blacklisted. If you have the proxy option enabled in your settings, all image URLs are re-written to go through the proxy. If not, then it uses the regular URL directly. It also caches with an admin-defined policy.
Oh interesting I will have to look how tessaract does it
And anywhere it renders an image (markdown, posts, avatars/icons, banners, etc), the image source is set via
imageProxyURL(url)
. There's extra optional params for size and format if the image source is served by pict-rs.