Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

For Tumblr links, bot should try grabbing the 'raw' version of images as these are usually much higher res #52

Open
Two-Tone opened this issue May 11, 2018 · 2 comments

Comments

@Two-Tone
Copy link

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.

@kupiakos
Copy link
Owner

Clever! Looks like a good change to make. Curious, how did you find this out?

@Two-Tone
Copy link
Author

Two-Tone commented May 15, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants