Imageshack Direct Upload?

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
jsc572
Posts: 67
Joined: 16 Feb 2007 01:31

Imageshack Direct Upload?

Post by jsc572 »

Hi,

I'm looking for way to do one-click upload to my Imageshack account from XYPlorer. Currently, Directory Opus has such a command which is extremely handy, select image files and click the frog button and you are done. Can the same thing be accomplished with user command or script in XYP?

jsc572
Posts: 67
Joined: 16 Feb 2007 01:31

Re: Imageshack Direct Upload?

Post by jsc572 »

to be more clear, below is the screenshot of what DO upload command shows after images are successfully loaded to the site. I'm wondering if the same function can be replicated in XYP. Thanks.

Image

admin
Site Admin
Posts: 66300
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Imageshack Direct Upload?

Post by admin »

jsc572 wrote:Hi,

I'm looking for way to do one-click upload to my Imageshack account from XYPlorer. Currently, Directory Opus has such a command which is extremely handy, select image files and click the frog button and you are done. Can the same thing be accomplished with user command or script in XYP?
How does this upload work? I only can answer this if I get some technical details.

But one thing in advance: FTP uploads are not supported by XY.

jsc572
Posts: 67
Joined: 16 Feb 2007 01:31

Re: Imageshack Direct Upload?

Post by jsc572 »

admin wrote:
jsc572 wrote:Hi,

I'm looking for way to do one-click upload to my Imageshack account from XYPlorer. Currently, Directory Opus has such a command which is extremely handy, select image files and click the frog button and you are done. Can the same thing be accomplished with user command or script in XYP?
How does this upload work? I only can answer this if I get some technical details.

But one thing in advance: FTP uploads are not supported by XY.
Well, it's definitely NOT FTP:) the command in DO is "Image UPLOAD=imageshack", but I don't know the actual script behind it. Any DirectoryOpus user on the forum? I think it's a very handy feature for those upload tons of pictures to Imageshack.

admin
Site Admin
Posts: 66300
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Imageshack Direct Upload?

Post by admin »

jsc572 wrote:
admin wrote:
jsc572 wrote:Hi,

I'm looking for way to do one-click upload to my Imageshack account from XYPlorer. Currently, Directory Opus has such a command which is extremely handy, select image files and click the frog button and you are done. Can the same thing be accomplished with user command or script in XYP?
How does this upload work? I only can answer this if I get some technical details.

But one thing in advance: FTP uploads are not supported by XY.
Well, it's definitely NOT FTP:) the command in DO is "Image UPLOAD=imageshack", but I don't know the actual script behind it. Any DirectoryOpus user on the forum? I think it's a very handy feature for those upload tons of pictures to Imageshack.
If they use the Http protocol it should be easily doable using scripting... I just need the magic imageshack upload formula...

avsfan
Posts: 554
Joined: 29 Jun 2006 09:00
Location: Fort Collins, Colorado

Re: Imageshack Direct Upload?

Post by avsfan »

admin wrote:If they use the Http protocol it should be easily doable using scripting... I just need the magic imageshack upload formula...
Even if the underlying mechanism is ftp, I would guess that it'd be a fairly straightforward script (for someone who knows what they're doing, of course! :) ) to integrate with one of the many good (and free) ftp clients (filezilla, coreftp lite, etc..) much as has been done with terra copy...

Perhaps someone will know what is going on behind the scenes -- then we'll know what we're up against!

j_c_hallgren
XY Blog Master
Posts: 5826
Joined: 02 Jan 2006 19:34
Location: So. Chatham MA/Clearwater FL
Contact:

Re: Imageshack Direct Upload?

Post by j_c_hallgren »

I just did a bit of looking and found a nbr of various pgms/add-ons/BHO's/etc for this linked at their website..some require .NET, some are standalone, etc. .. but I'd say that this may be a tangent that may be only usable by a limited subset of those who use on-line photo storage...if we start down this "rathole", then what about other ones, like Smugmug, Flickr, etc? It could open up a box of snakes, maybe.

Just my $.01!
Still spending WAY TOO much time here! But it's such a pleasure helping XY be a treasure!
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.

serendipity
Posts: 3360
Joined: 07 May 2007 18:14
Location: NJ/NY

Re: Imageshack Direct Upload?

Post by serendipity »

admin wrote:
jsc572 wrote:
admin wrote:
jsc572 wrote:Hi,

I'm looking for way to do one-click upload to my Imageshack account from XYPlorer. Currently, Directory Opus has such a command which is extremely handy, select image files and click the frog button and you are done. Can the same thing be accomplished with user command or script in XYP?
How does this upload work? I only can answer this if I get some technical details.

But one thing in advance: FTP uploads are not supported by XY.
Well, it's definitely NOT FTP:) the command in DO is "Image UPLOAD=imageshack", but I don't know the actual script behind it. Any DirectoryOpus user on the forum? I think it's a very handy feature for those upload tons of pictures to Imageshack.
If they use the Http protocol it should be easily doable using scripting... I just need the magic imageshack upload formula...
There are several free uploaders out there, I guess in XY's case Don needs to request a XML API from Imageshack guys. I saw that here: http://reg.imageshack.us/content.php?page=developer
Hmmm not sure about that, unless there is a scripting way to do it.

admin
Site Admin
Posts: 66300
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Imageshack Direct Upload?

Post by admin »

serendipity wrote:
admin wrote:
jsc572 wrote:
admin wrote:
jsc572 wrote:Hi,

I'm looking for way to do one-click upload to my Imageshack account from XYPlorer. Currently, Directory Opus has such a command which is extremely handy, select image files and click the frog button and you are done. Can the same thing be accomplished with user command or script in XYP?
How does this upload work? I only can answer this if I get some technical details.

But one thing in advance: FTP uploads are not supported by XY.
Well, it's definitely NOT FTP:) the command in DO is "Image UPLOAD=imageshack", but I don't know the actual script behind it. Any DirectoryOpus user on the forum? I think it's a very handy feature for those upload tons of pictures to Imageshack.
If they use the Http protocol it should be easily doable using scripting... I just need the magic imageshack upload formula...
There are several free uploaders out there, I guess in XY's case Don needs to request a XML API from Imageshack guys. I saw that here: http://reg.imageshack.us/content.php?page=developer
Hmmm not sure about that, unless there is a scripting way to do it.
Ah, I see. Well, no time for this now. But it looks like it's doable. The other question is if I want to do this. Writing extra code to support a particular web business? ...hmmm...

jacky
XYwiki Master
Posts: 3106
Joined: 23 Aug 2005 22:25
Location: France
Contact:

Re: Imageshack Direct Upload?

Post by jacky »

This can probably be done by launching an external app to do the upload. To do it within XY directly, e.g. in scripting, I think what would be needed in a way to POST a request. Currently we can do GET's with readurl, if there was support for a POST it could be possible to send the form with the file(s) to the website and show the results using html(). Of course, using some free uploader.exe sounds like a much easier solution though...
Proud XYplorer Fanatic

admin
Site Admin
Posts: 66300
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Imageshack Direct Upload?

Post by admin »

jacky wrote:This can probably be done by launching an external app to do the upload. To do it within XY directly, e.g. in scripting, I think what would be needed in a way to POST a request. Currently we can do GET's with readurl, if there was support for a POST it could be possible to send the form with the file(s) to the website and show the results using html(). Of course, using some free uploader.exe sounds like a much easier solution though...
But html() can be used to send POSTs using a <form>, can't it? God, I'm starting to ask questions about my own program... :)

jacky
XYwiki Master
Posts: 3106
Joined: 23 Aug 2005 22:25
Location: France
Contact:

Re: Imageshack Direct Upload?

Post by jacky »

admin wrote:But html() can be used to send POSTs using a <form>, can't it? God, I'm starting to ask questions about my own program... :)
Well, yes in that you can use it to show a page with a <form>, fill it out and click submit of course, it's a full embedded IE we have there. So one can totally load the imageshack website (or a smaller redesigned page for that matter) and use that, but it's not possible to have the script fill it automatically and POST it.

I guess with a little javascript one could auto-submit the form, but for obvious security reason it's not possible to pre-fill any input type=file field, so we would still need the user to have a form, click browse to select the file and then hit submit. Which I don't think serves the purpose of auto-uploading, which is not to have to do all that I think.
Proud XYplorer Fanatic

admin
Site Admin
Posts: 66300
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Imageshack Direct Upload?

Post by admin »

Yes, right.

Post Reply