BlueMoonstruckWolf said:
EDIT: Actually, since the canonical URL is s3.amazonaws.data.tumblr, should I redo my upload???

No. Source, tags and parent post ID can all be changed after upload by anyone. As for source, the most important one is the submission page, so in this case it's permalink to blog post itself. Other sources are secondary, not entirely necessary, but always good to be there.

Also with direct URL, usually what matters the most is filename and as the front bit isn't required to access the content, it shouldn't matter. You may get browser error if trying to access the image trough SSL, but that can be skipped easily.


BlueMoonstruckWolf said:
Thanks for this thread, I uploaded my first image with data.tumblr and raw file! (Added tons of tags, too) Let me know if I did ok.
Question, what's the first source I should list? The raw file, or the tumblr post itself?
EDIT: Actually, since the canonical URL is s3.amazonaws.data.tumblr, should I redo my upload???

The files in both URLs are the same, just edit the source link to s3.amazonaws.com and you should be fine.

For sources I would recommend in this order,

  • Post link
  • Gallery link
  • Direct-link (raw file)

Geez, no wonder my upload ratio is getting obliterated. :v


Ashram said:
Geez, no wonder my upload ratio is getting obliterated. :v

Your upload ratio went down 22% at worst.

If it becomes a problem you can message an admin about it.


Its rare but sometimes there are images with this URL
http://78.media.tumblr.com/tumblr_mbxys5SQC51rd8tfco1_1280.png
and the changing it to
http://data.tumblr.com/tumblr_mbxys5SQC51rd8tfco1_raw.png
doesn't work. Thankfully some are below 1280px width.


delishop said:
Its rare but sometimes there are images with this URL
http://78.media.tumblr.com/tumblr_mbxys5SQC51rd8tfco1_1280.png
and the changing it to
http://data.tumblr.com/tumblr_mbxys5SQC51rd8tfco1_raw.png
doesn't work. Thankfully some are below 1280px width.

http://lmsketch.tumblr.com/post/33643830852
Posted october 2012, it has already been established that that old posts do not have raw variation.
https://e926.net/wiki/show/howto:sites_and_sources#tumblr

Strongbird
Contributor
1 month ago

Are there any plans to run a script to change existing URL fields?

If possible, it'd be nice to automatically convert-
//media.tumblr.com
-to-
//s3.amazonaws.com/data.tumblr.com
-so the post links to the correct source. I'm not sure whether a user could automate this, or whether admin action would be required.


Strongbird said:
Are there any plans to run a script to change existing URL fields?

If possible, it'd be nice to automatically convert-
//media.tumblr.com
-to-
//s3.amazonaws.com/data.tumblr.com
-so the post links to the correct source. I'm not sure whether a user could automate this, or whether admin action would be required.

I would almost just left them be.
As long as original blog post url is there content can be found, with direct URL most important part is the filename (and that's why inkbunny, pixiv, etc. are still important even though they give 403 errors when accessed directly) which doesn't change anyway (neither should MD5 string), you can still change it manually yourself and if history repeats itself, they could maybe need to be changed again.

Of course if someone does bot those I'm not opposed.

Munkelzahn
Privileged
6 days ago

Does this script cover all possible variations in Tumblr links?

// ==UserScript==
// @name         Raw Tumblr
// @namespace    http://www.munkelzahn.horse/
// @version      0.1
// @description  Convert direct image links on Tumblr to _raw links
// @author       Munkelzahn
// @include      /^(https?://\d+.media.tumblr.com/)([a-z0-9]+/tumblr_)(inline_)?([a-zA-Z0-9]+_)(\d+[a-z]?)(.[a-z]+)$/
// @grant        none
// ==/UserScript==
(function() {
    var regexp = /^(https?://\d+.media.tumblr.com/)([a-z0-9]+/tumblr_)(inline_)?([a-zA-Z0-9]+_)(\d+[a-z]?)(.[a-z]+)$/;
    window.location.href = document.URL.replace(regexp, "https://s3.amazonaws.com/data.tumblr.com/$2$3$4raw$6");
})();

It converts regular links:
http://78.media.tumblr.com/d63563ab3c01142db67eb7055a78f89a/tumblr_ozbskqYvLC1tdkn7oo1_1280.jpg
Inline links:
http://78.media.tumblr.com/fa93c8a9d137fff645055bdc9e2f8ce9/tumblr_inline_ozd3whC0oS1t658or_500.png
Links with h after the resolution:
http://78.media.tumblr.com/f3709a8d257e73de3b31bc2654cdd0c3/tumblr_oj4qqiPX0R1t8icefo1_500h.jpg


For Firefox users:
Tumblr High Quality by azazel501

Strongbird
Contributor
4 days ago

Lance_Armstrong said:
This is just speculation, but maybe "revision1" for an edited image?

Definitely. Anything with dialogue will often be edited after being posted -- no one is safe from typos and spelling mistakes.

Also resolves perfectly fine to-
https://s3.amazonaws.com/data.tumblr.com/2253ed455d4c0c1cac937767d400f0a4/tumblr_ozakf55XJp1r4eyo7o1_r1_raw.png
-wherein removing _r1 causes a broken URL, so it's part of the filename if anything.