LapisMirror
LapisMirror copied to clipboard
For Tumblr links, bot should try grabbing the 'raw' version of images as these are usually much higher res
When the bot grabs images from Tumblr, it is grabbing the 'web friendly' version of the image that is usually scaled down to fit within a 1280x1280 square. An example is this image, which it mirrored here
However, if you change the 1280 at the end of the filename to raw
and change the subdomain to just a
(IE https://a.tumblr.com/cd81c3e635c05f0d2884b2893bcd1ae9/tumblr_p8joeeuvsR1s8am4ao1_raw.png) you'll get a MUCH higher resolution version of the image, one that is about 9 times larger.
This works for any image hosted on Tumblr I've found. Sometimes there will be images uploaded that arn't down scaled, but the URL will still work.
Clever! Looks like a good change to make. Curious, how did you find this out?
Found out about it via Reddit, actually! How the commentor on reddit learned about it, I have no idea!
On Tue, May 15, 2018 at 1:53 AM, Alyssa Haroldsen [email protected] wrote:
Clever! Looks like a good change to make. Curious, how did you find this out?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/kupiakos/LapisMirror/issues/52#issuecomment-389062463, or mute the thread https://github.com/notifications/unsubscribe-auth/AEJES-U3BfEh1DCzKse38cKjS1uNwi7Nks5tynt7gaJpZM4T7DX_ .