Image upload (ImgUr) in release 1.1

Editor
May 6, 2014 at 1:32 PM
Hello everyone!

Just for your information, currently, I am working on the implementation of this functional.

If you have any questions or wishes, please, do not hesitate to contact me.
Coordinator
May 6, 2014 at 5:47 PM
Hi, thanks for joining the project. Questions:

How to get a imgUr key? (We need to get one to upload images)
The upload will be anonymous or linked to a imgur account?
Editor
May 7, 2014 at 12:12 PM
Edited May 7, 2014 at 12:13 PM
Hello!

In order to get a key, the first, we need to register on http://imgur.com (https://imgur.com/register) own account (e.g. the account with ScreeToGif name). The next step we can register own application (https://api.imgur.com/oauth2/addclient) in own account. After the application registration we will get Client ID and Client Secret which we can use in order to upload images using such header:
Authorization: Client-ID YOUR_CLIENT_ID
This Client ID number will used in ScreenoGif application in order to upload images. This works if we'd like to upload images anonymously (without the image being tied to an account). But for each registered application we have the following rate limits:
The Imgur API uses a credit allocation system to ensure fair distribution of capacity. Each application can allow approximately 1,250 uploads per day or approximately 12,500 requests per day. If the daily limit is hit five times in a month, then the app will be blocked for the rest of the month. The remaining credit limit will be shown with each requests response in the X-RateLimit-ClientRemaining HTTP header.
Also, users can register own account on http://imgur.com and register own application themselves. In this case a user will have own Client ID and Client Secret which he can enter in ScreenToGif and upload images through own account (not through ScreeToGif account).

I think we can provide both possibilities in ScreenToGif application:

1) Upload images through our account (but limit rate: 1,250 uploads per day or approximately 12,500 requests per day);

2) Upload images through users’ own account. In this case users should login own account through ScreenToGid and images will uploaded not anonymously.

Useful links:

http://api.imgur.com/
https://api.imgur.com/oauth2

Please let me know if you have any questions.
Coordinator
May 13, 2014 at 8:25 PM
Alright, let's start with a ScreenToGif account, create a outlook account and register that email to imgUr.

Thanks for the great answer :D
Editor
May 16, 2014 at 1:52 PM
Could you please create an outlook account and send me the account credentials? After that I'll create a corresponding account on Imgur.com.

Thanks!
Coordinator
May 16, 2014 at 2:35 PM
I sent to you the account via codeplex contact.
Editor
May 23, 2014 at 10:32 AM
Edited May 23, 2014 at 11:19 AM
Hello Nicke,

I want to coordinate the design of ImgUr feature. What do you think if I'll add a new LinkLabel to Processing.cs page? Please see the example below:

Image

P.S. By clicking the "Upload to ImgUr" link, I would like to show a progress bar. After an uploading, show the message with the link to uploaded image.
Coordinator
May 23, 2014 at 12:43 PM
Yes, that way is good :)
Coordinator
Jun 18, 2014 at 4:13 PM
Hi 3lias,

How is the progress of your work? Need help?
Editor
Jun 25, 2014 at 5:37 AM
Hi Nicke,

I am sorry for the delay. I was in a hospital therefore I was not able to implement it. I am doing it on next week.
Coordinator
Jun 25, 2014 at 1:41 PM
Alright. No problem.