Page 1 of 1
uploading images by users
Posted: Wed Aug 09, 2006 12:13 pm
by Tanya71
Hi

,
I want to create an online art gallery whereby users can upload & publish their images & text directly from their browsers without emailing me. but i do wish to be able to delete unsuitable images or items if possible.
Is this easy to do as I have literally just start teaching myself Php!
I appreciate any help you can give me on this.
Many thanks
Tanya
Posted: Wed Aug 09, 2006 12:36 pm
by matthijs
Sounds like a nice project, but I'm not sure if it's the best if you just started. Letting users do things like writing text and uploading images on a live site will take some serious measures to ensure the safety and security of the application. Something which isn't too easy (even services as google and myspace suffer/have suffered from vulnerabilities).
So it certainly is possible, but not easy. (IMHO)
Re: uploading images by users
Posted: Wed Aug 09, 2006 3:49 pm
by matt1019
Tanya71 wrote:Hi

,
I want to create an online art gallery whereby users can upload & publish their images & text directly from their browsers without emailing me. but i do wish to be able to delete unsuitable images or items if possible.
Is this easy to do as I have literally just start teaching myself Php!
I appreciate any help you can give me on this.
Many thanks
Tanya
Hi Tanya!
Once you get hang of php, build yourself from ground up
Bascially, just what matthijs said... start with a simple project first.
Lookup online, there are many GOOD tutorials on php and also pickup some books on php and mysql (mysql you will need, because it is what you will need to store the users' photo settings, site settings, you name it.)
The reason why I said books is because most books will offer exercises at the end of chapters.... this is what will help you.
Second thing to look for, are the source code itself. you will not believe this, but looking at the sourcecode and realizing HOW it works, will help you immensely.... mere book reading might not be enough.
One last thing... there are many gallery applications out there... did you take a look at them? (by no means I am saying that you cant do this. please dont get me wrong.... I was just wondering if you took a look at that

)
-Matt
Posted: Wed Aug 09, 2006 8:51 pm
by litebearer
just some ideas...
minimally two tables
artists
artist_id, name, email, background, artist_approved
images
image_id, artist_id, image_name, image_description, image_approved
make it so artists must register and be approved prior to allowing uploads
if approved provide username and password to allow access to upload script
you need to decide if you want to allow the images and descriptions that are uploaded to be visible to the world WITHOUT your approval of same OR if it needs to be approved first.