Welcome Guest, Not a member yet? Register   Sign In
How: Uploading multiple image and simultaneously create a folder.
#1

[eluser]Wondering Coder[/eluser]
hi to all,

Quote:I have two problem concerning mainly in image upload.
1. How to upload an multiple image not a multiple file uploading.
For e.g. Is when I click the browse button I can upload many images in a single upload button.
2. My application has many groups of users(e.g group 1,2,3 etc..), now when a user upload an image I want the images be place in a folder with their respective group. My problem is how to create a folder and naming it in CI?

Hope anyone can help me here. By the way I found a multiple upload but its what I want. A single upload button that can upload many images.
#2

[eluser]portgaz[/eluser]
I hope this thread can help you. And did you try to use the mkdir() function in creating folders?
#3

[eluser]Wondering Coder[/eluser]
hello portgaz,

tried your suggested link, tested it and got it working but that's not what I have in mind.. Cause what if the user want to upload 20 images at one time or more just like uploading an Album in facebook. Also about creating folder, solved it using mkdir. Whats left is the multiple image uploading part.

Anyone have an idea on how to achieve this?




Theme © iAndrew 2016 - Forum software by © MyBB