Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
Thread: drag&drop + asynch file upload
12-30-2007, 11:30 PM #1
- Join Date
- Dec 2007
- Thanked 0 Times in 0 Posts
drag&drop + asynch file upload
first of all, as a newbie and all I do is "recycle" or "reuse" code...
that's the least that I can do for now, since I'm just beginning to learn this... and please pardon my ignorance and bad terminologies
I only use the examples I find on the web which is free or the so-called
"open source" codes...
suppose we have these two example "applications"(don't know what to call it):
1st: a drag&drop app where we can move an object anywhere within the designated area, the object/s can also be resized, and the last object moved will always be on top of other objects(if it's "stacked" together 1 over another)
2nd: asynchronous file upload image, (added with) limit the size and amount of images that will be uploaded..
I want to combine these two examples... the uploaded images will be the objects in the drag&drop app that can be moved, resized, etc.(as described above)
I'm trying to find it over the web but to no avail. I hope there's someone out there who'll be glad to share their codes if they know how to do this...
some references I used:
Asynchronous file upload
a resizable object
I'm talking about an application like (or simpler) this
01-01-2008, 09:45 PM #2
- Join Date
- Jun 2007
- Thanked 603 Times in 583 Posts
check out the walter zorn drag and drop library for the first one.
re #2: you cannot limit size on the client, you will need a server to validate that, based upon the "Content-Length" header it recieves. you can really only upload one image at a time, at least in the sense of individually browsing to each file.
there is no drag and drop standard to upload files, although it looks like firefox3 might enable that...