Questions on anonymous uploads #4
Replies: 1 comment 3 replies
-
Hi @santiyounger. First of all, thank you for your words, I am happy to hear that this little piece of work is found valuable for Obsidian users. You can also hit the star-button on the repo to show it's helpfulness
No, it is not possible with "anonymous upload" approach used right now. Below it the quote from the docs:
I am sure this is possible and Imgur API easily allows it, but it would require much more effort from me. I will try to explain: to perform non-anonymous actions you need to obtain OAuth-related token. This either requires a callback-url on the app's side (which I am not sure if it is possible to register from plugins API) or some other way to obtain OAuth token without callback URL. Unfortunately, I did not have experience with OAuth, so initially I made it work the simplest way (with Anonymous upload approach requiring only client_id you specify manually). So yes, I think it is possible and I also think it is a good idea to allow user to have specific album on imgur.com for note's images. But it is not implemented like this right now.
Do you mean if it happened to me that the pasted Image ever disappeared? No, never. I used hackmd before which also pastes images anonymously with client_id approach under the hood. I had notes which I did not open for ~ 1 year and images were still present. I also used imgur long time ago to paste images on forums and did not remember they ever disappeared.
I tried to find some guarantees about imgur image's TTL (for how long they are preserved since last accessed), and found the following stackexchange answer referring to imgur docs and saying that images are kept forever: https://webapps.stackexchange.com/a/75994/124389 The link in the answer is invalid though and I did not find the same guarantee explicitly on today's current docs. One more observation which can be related to ubiquity/reliability of imgur: when you post on stackoverflow/stackexchange, the image you paste will get uploaded to imgur.com too and gets embedded to markdown of your question/answer Hope the above info will help you to understand how reliable the current approach is |
Beta Was this translation helpful? Give feedback.
-
Hey thanks a lot for this awesome plugin!
I have a couple of questions and some things I'd love to know your opinion
I'd love to know more about anonymous upload in imgur. I read in the README that they are not connected or saved to our imgur account.
Is there however any way to access all of my previous screenshots that I've pasted into Obsidian?
I know this must be more on Imgurs API limitation, but is there any way we could implement a way in which these pasted screenshots go to our saved imgur images?
──────────────────────────────────────────
Have you had any issues with these anonymous pasted images? In terms of have you seen the URL break / the pasted image disappear.
I love the convenience of this, as well as how much space we can free, compared to attaching every screenshot in the Obsidian attachments folder.
I think it's a great idea, I'd love to know your opinions on how good of a long term solution this is for being able to access screenshots.
perhaps more than anything, I'd like to know how reliable you feel Imgur anonymous uploads are.
Thanks a lot again, excellent work
Beta Was this translation helpful? Give feedback.
All reactions