- When you stick an image link in a text field, we detect it and render it as image (without you having to provide markup): https://imgprxy.stacker.news/nzpWF554VYDdl37N6rj2Y7a8fT0Z0izHov1QCgVTClA/rs:fit:600:500:0/g:no/aHR0cHM6Ly9zdGF0aWMwLmdhbWVyYW50aW1hZ2VzLmNvbS93b3JkcHJlc3Mvd3AtY29udGVudC91cGxvYWRzLzIwMjAvMDkvY2luZGVyZWxsYS1mYWlyeS1nb2Rtb3RoZXIuanBnP3E9NTAmZml0PWNvbnRhaW4mdz0xMTQwJmg9JmRwcj0xLjU
- We proxy all images so that your ip isn't leaked to the image host.
- When you use a link to an image in a 'link' post, it becomes an image post and the image is rendered on the post's page.
- Your longest cowboy hat streak is displayed on your profile.
Special thanks to @jowo! They did image link detection work a couple month ago and was really patient waiting for us to ship it. @ekzyis did a lot of the follow through, image proxy work, and the longest cowboy hat change.
niceee. when can we do this for video? π
testing this with a relevant meme in light of today's events
https://imgprxy.stacker.news/uXwPDUw2EsmUvJloeLzui2MgwJY5BQFsWMdNlhyv5TY/rs:fit:600:500:0/g:no/aHR0cHM6Ly9wYnMudHdpbWcuY29tL21lZGlhL0Z5VEh2bV9Yc0FNLW5Ebj9mb3JtYXQ9anBnJm5hbWU9bWVkaXVt
Probably shortly after thereβs a gh issue. Proxying might be a lift but otherwise itβs a mime type check
Well done! I love it <3
I see you are making good use of it in the daily discussion :)
Yes :) https://imgprxy.stacker.news/T5z-DVwc3MwrpXwdjWP3XIc5JQkPUmVEWjBvMmqu-hY/rs:fit:600:500:0/g:no/aHR0cHM6Ly9tZWRpYS50ZW5vci5jb20veXA4NUxlSTIzQmdBQUFBTS9jaGFkLXllcy1iaXRjb2luLmdpZg
Siiiick can never remember [ ] or ( ) !
Love seeing the privacy-centric changes like the image proxy. Nice!!
Oh interesting, didn't know this was possible. How do you do this? Just call the website from backend? How do you make sure an .jpg url actually is an image like it says it is?
Yeah, you can kind of think of us as serving as a VPN for images on the site.
We send an http
HEADrequest to the url which specifies the type.We don't. If the website responds with "image" in it's
Content-typeheader to ourHEADrequest, we proxy it. If not, it will be displayed as a URL on which a user can click.If it turns out to not be an image during rendering, the image won't be rendered but I would blame the website then since they gave us wrong information.
The assumption is that this will work in 99% of the cases and when we find edge cases, we can think about other solutions.
woohoo! congratulations on the release π₯π₯π₯π₯
SN sempre evoluindo πͺπ