Desktop application to upload images to image hosting site
$30-250 USD
В роботі
Опублікований almost 12 years ago
$30-250 USD
Оплачується при отриманні
Hello,
I am looking for a person who can create a simple desktop application which will upload to my image hosting website. If the application can be compatible with both, windows and mac operating system it would be awesome, if only windows it's fine too.
So, actually there's not much to do on the application-side rather than just sending some form data to my website API which I created for remote uploads. First of all, here's a little preview of what I'm looking for:
[login to view URL]
This is NOT exactly how I want it, but it's an idea of what I would like. The upload progress it's not really needed. The most important thing on the application is that after uploading a bunch of images it will give you all the images links in a new little window.
Now, as I mentioned above, I created an API to remotely upload images to my website and here's how it works:
1.- GETTING THE SETTINGS:
Ok so I want to have control over the uploader, so I created the settings call:
[login to view URL]
If you go to that URL my api will return in a JSON response the remote uploader settings.
Response:
{"active":true,"logo":"http:\/\/[login to view URL]\/images\/2012\/06\/08\/[login to view URL]"}
active = tells if the desktop uploading is enabled or not
logo = gives the path to the application logo
If the settings request cannot be made then the application should not be available.
2.- UPLOADING FILES:
Here's the form that the application should simulate to upload each file:
<form action="[login to view URL]" method="post" enctype="multipart/form-data">
<label for="file">File:</label>
<input type="file" name="file" id="file" />
<input type="hidden" name="key" value="3n84t73o" />
<input type="submit" name="submit" value="UPLOAD!" />
</form>
The above form it's a live example of the remote uploading, if you use it you will get a JSON response with all the image data:
{
"image_name":"vZNF9",
"image_filename":"[login to view URL]",
"image_type":"jpg",
"image_path":"\/images\/2012\/06\/08\/[login to view URL]",
"image_url":"http:\/\/[login to view URL]\/images\/2012\/06\/08\/[login to view URL]",
"image_width":320,
"image_height":480,
"image_attr":"width=\"320\" height=\"480\"",
"image_bytes":66343,
"image_size":"64.8 KB",
"image_thumb_url":"http:\/\/[login to view URL]\/images\/2012\/06\/08\/[login to view URL]",
"image_thumb_path":"\/images\/2012\/06\/08\/[login to view URL]",
"image_thumb_width":100,
"image_thumb_height":90,
"image_aus_isprivate":0,
"image_aus_userid":"1",
"image_aus_isnsfw":0,
"image_aus_userip":"[login to view URL]",
"image_id":"Ly",
"image_viewer":"http:\/\/[login to view URL]\/image\/Ly"
}
If there is any error with the file uploading or key authentication you will get a json response like this:
{"error":"true","errorMsg":"Invalid Key"}
So as you can see my API does almost all the work, so all I need is the windows application to communicate with my API and let users drag and drop images into a small window and when all the images they dragged to the uploader have been uploaded they can be given with the images links.