Issue with Danbooru Up

Posted under General

Toks said:

How so?

Bookmarklet needs you to open the direct image URL, while DanbooruUp lets you right-click any image; saving you the need to open for fullsize image and THEN image URL.

Ironbottom said:

What's the difference between the Firefox version and the Chrome version? I thought it was the same code base.

Chrome version opens a new window w/preview for the upload (and still works), while Firefox version opens a little pop-up (and gives an error when you click submit).

Neither version is updating tags though.

Log said:

This is danbooru, not the bookmarklet. I'm pretty sure Toks has explained this to you more than once.

WTF?

The bookmarklet is less useful than DanbooruUp.

If I want to upload from Pixiv, I have to do an extra step just to get the bookmarklet to WORK (copy image URL), which negates the point of having a "one-click solution"!

You don't have to copy anything. You don't need to open the full size of an image. The process is this: Go to pixiv. Find an image you want to upload. Right-click on the sample -> view image. (You don't even have to view the full size, the sample is fine because danbooru will detect and upload the correct size. Which was the point I was trying to make.) Click the bookmarklet (which is a sequence of javascript saved as a bookmark ideally on your bookmark toolbar.) Enter tags and click upload.

You save two whole clicks. This is not "miles beyond the functionality" it's a moderate convenience. Also the bookmarklet has the advantage of working vs an abandoned extension.

Miles beyond the functionality would be parsing the pixiv tags and auto-inserting the danbooru equivalents into the upload box. That would be an extension worth raving about.

Log said:

You don't have to copy anything. You don't need to open the full size of an image. The process is this: Go to pixiv. Find an image you want to upload. Right-click on the sample -> view image. (You don't even have to view the full size, the sample is fine because danbooru will detect and upload the correct size. Which was the point I was trying to make.) Click the bookmarklet (which is a sequence of javascript saved as a bookmark ideally on your bookmark toolbar.) Enter tags and click upload.

You save two whole clicks. This is not "miles beyond the functionality" it's a moderate convenience. Also the bookmarklet has the advantage of working vs an abandoned extension.

Miles beyond the functionality would be parsing the pixiv tags and auto-inserting the danbooru equivalents into the upload box. That would be an extension worth raving about.

Alright, this works. Thanks.

Actually, even though I said you need to open the direct image, I just realized this isn't always true. For Pixiv, Twitpic, and DeviantArt you can use the bookmarklet from the html page. Example: If you're on this page, just click the bookmarklet without opening the direct image. Danbooru will figure out what the image should be by parsing the page and it should work. In this case the bookmarklet actually takes one less click than DanbooruUp does.

For sites besides those 3 you do still need to open the direct image. However, it might be possible to support more sites for this.

Toks said:

Actually, even though I said you need to open the direct image, I just realized this isn't always true. For Pixiv, Twitpic, and DeviantArt you can use the bookmarklet from the html page. Example: If you're on this page, just click the bookmarklet without opening the direct image. Danbooru will figure out what the image should be by parsing the page and it should work. In this case the bookmarklet actually takes one less click than DanbooruUp does.

For sites besides those 3 you do still need to open the direct image. However, it might be possible to support more sites for this.

This doesn't work for me for some reason. It just sticks the wrong link(http://www.pixiv.net/member_illust.php?mode=medium&illust_id=43171309) into the source field.

Also, this:

Kadoya said:

That and the bookmarklet isn't working for Nico Seiga at the moment (keep getting failboorus) so I HAVE to go manual.

Ars said:

This doesn't work for me for some reason. It just sticks the wrong link(http://www.pixiv.net/member_illust.php?mode=medium&illust_id=43171309) into the source field.

Also, this:

The wrong link will appear in the source field before you upload. But once you actually click submit it will be automatically fixed to the direct link and upload successfully. Or at least it should - are you saying this isn't happening?

I'm not sure what's wrong with nico seiga but I'm trying to figure it out atm.

Toks said:

The wrong link will appear in the source field before you upload. But once you actually click submit it will be automatically fixed to the direct link and upload successfully. Or at least it should - are you saying this isn't happening?

Huh, I didn't know it will still upload that way, though you won't get a preview image like you do when you use the bookmarklet directly on the image.

Ars said:

Huh, I didn't know it will still upload that way, though you won't get a preview image like you do when you use the bookmarklet directly on the image.

I fixed the no preview bug for Twitpic and DeviantArt for the next version.

I also tried to fix it for Pixiv but it's not so easy since Pixiv doesn't allow hotlinking. The reason it works when you view it directly first is probably because your browser cached it. So unless Pixiv changes their hotlinking policy I guess you shouldn't try to do it from the mode=medium page for Pixiv.

But at least I half-fixed it, so you'll be able to do it from the mode=big page and the preview will work for the next version. i.e. Just click on the image once to open the full size, then click the bookmarklet. This lets you skip the extra step where you right click the image and click "View Image".

Toks said:

I also tried to fix it for Pixiv but it's not so easy since Pixiv doesn't allow hotlinking. The reason it works when you view it directly first is probably because your browser cached it.

haven't done this before, but is it possible to use the mechanize library to view the pixiv page virtually then fetch the image just like in a browser? with this, there will be some sort of 'page' before the image and not hotlinking?

ghostrigger said:

haven't done this before, but is it possible to use the mechanize library to view the pixiv page virtually then fetch the image just like in a browser? with this, there will be some sort of 'page' before the image and not hotlinking?

Mechanize can fake the referrer to view the image (in fact, this is how it downloads the image when uploading). But how do you display that to the user? I don't think the user's browser will just let Danbooru fake the referrer.

1 2