# June 22, 2013 at 8:13 am
I need some help. I have my website, wich will have a backoffice to insert data, and a front end that will do some querys to databse.
I want to be able to upload images when i insert a new data. here is the form, here i want to upload images:
But i want the images to be stored in a folder, not in the database. Like images/$id
So when i enter a new data, it will create a folder with the id of the data i insert on the database, and upload the images to there. Other thing i want is to upload several images, so i upload one, and when that field already have a image, it will display another field so i can upload more.
Then when i display them, i want to display like a thumbnail for the first image i insert, and then when i click, the image will be displayed in real size, and i can click and nagivate to the others, like a galery. So i think the best is to resize the images to 800×600 and create a thumbnail to the 1st one i guess.
Can someone help me?# June 25, 2013 at 5:17 pm
So i was working on this, and the images are uploaded, the many i select, they go for the folder. but only the path of one is stored on the bd. So what i want to do is like, everytime i insert a new place, that will contain several images, i want it to create a folder with the id of the place, and all the images will go into to the folder. so only the folder path will be stored in db, and when i list a place, i will get all the images of that place.
images/place1 (but not place1, just the id of the place)
This is what i got for now:
You must be logged in to reply to this topic.