chunked uploads

Noticed that the jQuery uploader has a chunked upload function but it seems to be disabled for now? Tried to force enabling it by setting testonly to false, setting a small maxchunksize and removing the uploadlimit checks, but it doesn't seem to actually save the file even after it gets uploaded. Still a work in progress?

Comments

  • You would have to consult with the authors of the script on that. Not something we have tried.
  • my hacked and slashed mod of the uploader_jQuery plugin to make chunked uploads work. Can upload any sized file regardless of PHP post size limits:

    known bugs:
    - the "make a new album" feature doesn't work
    - no Zip file support

    https://github.com/carlchan/zp_uploader_jQuery-mod

    Use at your own risk, rather ugly hack but it seems to work, at least in Chrome/Safari/Firefox =)
  • Looks like a good start. I suspect that uploading zip files is not needed, but the new album feature would be nice.

    I notice that there are considerable chagnes to the `jquery.fileupload.js` script. I wonder if you might consider offering these up to the jQuery File upload plugin project https://github.com/blueimp/jQuery-File-Upload . We try hard not to make modifications to third party scripts (for the same reason we suggest people take the tact you used and make a new set of scripts to modify.)

    If your changes were incorporated in that project it would make things much simpler in the long run. (I also notice while checking this that they have a newer version we will have to deal with at some point. It would be really cool if you managed to both get your changes incorporated and migrate the zenphoto plugin to the resulting version!)

    Anyway, good work.
  • Thanks. I've uploaded a new version with new album support, was surprisingly easy! I actually did replace numerous functions from the old plugin using the newer version from the blueimp github repo. I first tried to replace files directly with the new version but it didn't work, so I went this route instead.

    Now that I understand how the thing works I hope to be able to do it the proper way later!
  • Thanks. I've uploaded a new version with new album support, was surprisingly easy! I actually did replace numerous functions from the old plugin using the newer version from the blueimp github repo. I first tried to replace files directly with the new version but it didn't work, so I went this route instead.

    Now that I understand how the thing works I hope to be able to do it the proper way later!
  • Good news. We've missed the cut-off for features for 1.4.4, but look forward to your final version to replace the uploader on 1.4.5
Sign In or Register to comment.