Front-End User multiple file and image uploads, which thereby creates one instance of a record per uploaded file.

3 posts by 3 authors in: Forums > CMS Builder
Last Post: August 26, 2013   (RSS)

By Mikey - August 25, 2013

I need to create a Front-End User multiple file and image uploader, which thereby creates one instant of a (menu type - multi) record per uploaded file.

So for example a front end user is logged into the site and wants to upload 20 photos and 10 files.... the user could select all 30 files and upload them all at one time, however for all 30 files - there is an individual (menu type - multi) record created per file for a total of 30 multi records.

During the upload process, the front-end user would be required to:

  • add a summary description related to each file being uploaded
  • add a full description related to each file being uploaded
  • select a category or create a new category related to each file being uploaded
  • select related keywords or create multiple keywords related to each file being uploaded
  • select if the file being uploaded has copyright permissions or is free to the general public

Does any one know of a InteractiveTools forum thread post that I can browse to get this project started, or have any suggestions on how implement this?

Thank Zick.

By moh3 - August 26, 2013

hello here is something i thought off but needs a bit of work,

- i have used MultiPowUpload http://www.element-it.com/multiple-file-upload/flash-uploader.aspx for multi uploads which has a flash and HTML 5 option

- you must create a secure page with a form with the required fields ( title and description ) using the function from MultiPowUpload you can check if the user has selected and completed the uploaded files once you check that you must grab the file names and save them for submission in JS array on submit the form will be submitted with a new record in your multi record section along with file names ( using the file names you must store a record for each file

in the uploads table uisng the id of the record you created in multi record section i can give you the way to do that but requires more space to explain )

things to take account for:

- javascript must be present for this to work, if javascript is not present present a fall back page to inform the user that he must enable JS

- you can use http://jumploader.com/ for multi upload files which works great and you can upload up to 2GB using file chuncking it has a free version which works just fine and their forum is great

- using the above information requires that you employ the file upload functions from CMSbuilder or do it the manual way, wish the team would document

the information and what is available for the end user to use in his coding