Topic: Imageshack with logins

I have an account with imageshack so that I can have a nice dashboard to see my past uploads and recover the urls etc etc.... and it's completely useless with Dropzone since there's no support for usernames.

Their API doesn't even require OAUTH - it's simple username & password. This shouldn't be that hard to implement and it's a big payoff.

Re: Imageshack with logins

Yep, I agree this is an important feature. I'll have a look at the API and see how hard this would be.

Re: Imageshack with logins

I took a minute and looked at it; it's even easier than I might have thought. When doing a login (via a simple post of the username & password) you can tell it to remember you. Which means the cookie it hands back will have a 365 day age rather than only for the session.

I just copied & pasted that into my REST tester and sure enough it works fine. If you're posting to https://api.imageshack.us/v1/images to do the upload all you have to do is add an auth_token parameter and put that cookie in it. Personally I'd be happy with just exposing a spot for me to do that, but I'm comfortable with doing that REST post.

Looks like you're using the XML endpoint as described here not the JSON described in the main API link. https://code.google.com/p/imageshackapi … geshackAPI But under "uploading into accounts" it indicates how to do it. Looks like the simplest thing would be to direct the user to login at the URL they specify and retrieve the cookie, then let them put it in a config box.

That code says you can just use the user's cookie as an additional parameter and sure enough, that's what I patched into the script and it works fine - I just added -F 'cookie=MYCOOKIEHERE' to the curl line and files are showing up in my account now.

For safety's sake it really should test the key as described in the above link and then not use it if it doesn't pass, but it's going to get the job done for me for the moment.

Re: Imageshack with logins

Looks like this may need to be a higher priority, based on the email I got from Imageshack just today:

Over the recent months we have made many changes and improvements to ImageShack. We have made the site faster and much more user friendly. We have also decided to move away from displaying ads on our pages. In return, we now ask our customers for a very small fee to use our service. This change will also affect our API users starting Martch 1st. Specifically, uploads of new images into free accounts will be disabled. If you have an app that uses ImageShack's upload API, you need to make sure your developer key is associated with a business account.

Re: Imageshack with logins

+1 This Action

since the way we do things now will be disabled soon.

whiteside wrote:

Looks like this may need to be a higher priority, based on the email I got from Imageshack just today:

Over the recent months we have made many changes and improvements to ImageShack. We have made the site faster and much more user friendly. We have also decided to move away from displaying ads on our pages. In return, we now ask our customers for a very small fee to use our service. This change will also affect our API users starting Martch 1st. Specifically, uploads of new images into free accounts will be disabled. If you have an app that uses ImageShack's upload API, you need to make sure your developer key is associated with a business account.

Wow so there Disabling free accounts So the way we dropZone images to DZ will no longer work..?

Would be nice to have a system where we can upload & it'll ask to which folder, Or gives a list of folders with-in the account & you click the folder you'd like it to Drop into..

Re: Imageshack with logins

This information is outdated - I have long since updated the ImageShack action to work with the new API.
You can install the updated action from https://aptonic.com/dropzone3/actions (click the Install link beside the ImageShack action). It enables you to upload individual or multiple images into ImageShack albums.

And yes ImageShack have gone to a paid model now, but you can sign up for a 15 day trial at https://imageshack.com/signup and then their plans start at $3.99 / month.

You can also use the Imgur action which ships with Dropzone 3 and is totally free. There’s complete instructions and a demo of this at http://imgur.com/gallery/eDf31