Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Dec 2007
    Posts
    2
    Thanks
    0
    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:
    YUI Drag&Drop
    Asynchronous file upload
    a resizable object

    I'm talking about an application like (or simpler) this
    zazzle

  • #2
    Senior Coder rnd me's Avatar
    Join Date
    Jun 2007
    Location
    Urbana
    Posts
    4,448
    Thanks
    11
    Thanked 598 Times in 578 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...
    my site (updated 2014/10/20)
    BROWSER STATS [% share] (2014/9/03) IE7:0.1, IE8:4.3, IE11:9.2, IE9:2.7, IE10:2.6, FF:16.8, CH:47.5, SF:7.8, NON-MOUSE:37%


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •