Danbooru

Danbooru 2 Issues Topic

Posted under General

This topic has been locked.

Hmm, interesting... And I don't think downvotes should be moved (for that reason exactly). For now, my opinion is that only votes associated with favorites should be moved, and non-favorite votes (both up and down alike) should probably just remain.

Hoping that we'll be able to fix it for older posts where the function was already used though, seeing the disparity in favorites and score mildly bothers me.

Looks like Pixiv has made another change that is affecting direct source uploads.

The direct url for post #2668690 for example was originally:
https://i1.pixiv.net/img-original/img/2017/03/23/00/14/58/62048340_p0.jpg

Now it is showing as:
https://i.pximg.net/img-original/img/2017/03/23/00/14/58/62048340_p0.jpg

Edit:
Seems it is only for the manga image groups but not all of them for some reason. Direct Pixiv url's post #2661538 and post #2667370 haven't been changed.

Edit 2: OK just went and checked post #2668690 again, it is giving the original url now. Not sure what all that was about.

Updated

fossilnix said:

Also, pasting an i.pximg.net URL into the source field doesn't automatically correct into a pixiv/member_illust link like other direct image links to pixiv do

I was surprised about this change. at post #2676252. I did the usual copy pasting the image url. Once I uploaded it, the source in the post says: (https://i.pximg.net/img-original/img/2017/03/31/00/00/16/62171772_p0.jpg), instead of automatically turning into (http://www.pixiv.net/member_illust.php?mode=medium&illust_id=62171772).

I am looking forward for the possible solution of this recent issue.

There something weird with Tumblr happening lately? The script's detecting md5 mismatches on images that have the exact same RGB data but have lower compression levels (ex. post #2676111). So when one tries to upload that 'original' through the bookmarklet, it instead gets blocked because of being a duplicate upload.

We don't do any post-processing optimization of images uploaded so this is just... confusing to me.

And yet again it's http://68.media.tumblr.com/ that is f***ing things up... :/

Also, I just tried the bookmarklet and while it is detecting the similar image, it's not blocking it due to an MD5 mismatch.

Don't forget that Danbooru is using it's own DNS (not yours) to pull in the image, so while things may appear "right" when you load it up, it could vary from what Danbooru actually downloads.

The only way to guarantee the upload is the right one is to download it to disk and then upload it from there.

Ah, I see. Here I thought for the longest time that it instead uses our own because I didn't assume the bookmarklet would work on images uploaded from pixiv/seiga/etc without being logged in... But theoretically you could with an image's direct link, I suppose, even if viewing the actual image 403's. Just tested that too, and it works.

Huh, interesting.

Yeah, the only thing the bookmarklet does is get the URL and referring URL of the page you are on and pass it on to Danbooru. You can even see it in the page URL on the Uploads page. It will have "url=" and "ref=" for the URL and referring URL for the page you just came from.

You could theoretically URLencode the URLs you want and then manually set the "url" and "ref" parameters for the Uploads page, but that's generally more work than most would be willing to do.

BrokenEagle98 said:

You could theoretically URLencode the URLs you want and then manually set the "url" and "ref" parameters for the Uploads page, but that's generally more work than most would be willing to do.

Actually, I've been thinking for a long time about simulating bookmarklet behavior from upload page. For example, when you paste the URL source, have a button nearby to re-open upload page with that source in "url=" parameter and all bookmarklet niceties available. The main problem is nonexistent "ref" in that case, but it's not always needed.

fossilnix said:

After yesterday's fix, uploading from i.pximg.net works, but automatic source conversion from direct image link to pixiv/member_illust link is still broken. source:https://i.pximg.net/

I'm still having issues with this myself. Sorry, I'm low tech. The technology boat may have come into port at the beginning of my generation, but I kind of slept in that day and missed the boat so to speak... Yet I'm now the voluntold IT manager at work lol. Oh shenanigans. Anyone seen my stapler?

Anyway, I've tried uploading the same way I have for quite a few years, but now posts aren't converting to the regular pixiv/member_illust link like they always have. Is this purely a code issue (out of my lame hands and don't worry about it) or do we need to upload differently now due to recent pixiv changes? I want to avoid lower res sample uploads while maintaining good source links. As it has worked for me for two days now, I'm still getting the correct full image like always, but not a good source back link to where a user can easily see the original artist's complete post.

Sorry for the low tech-ness if it's already been explained at a higher understanding (which I'm sure it probably has)... issue #2946 was well over my head.

It's just a technical issue on the site's front. They've added a new subdomain for images, it looks like...

Or is that just the overall domain (https://i.pximg.net/) for all images stored now? No more i1, i2, i3, i4 whatever? Because they busted out this change yesterday night and I got tons upon tons of broken page links for like 1-2 hours.

Type-kun said:

Actually, I've been thinking for a long time about simulating bookmarklet behavior from upload page. For example, when you paste the URL source, have a button nearby to re-open upload page with that source in "url=" parameter and all bookmarklet niceties available. The main problem is nonexistent "ref" in that case, but it's not always needed.

That would be nice. It would be possible to have a callback on the source field that loads the new image whenever the source changes, that way you wouldn't even have to reload the page.