Hi all
I want to create a page that allowed visitors in my website to upload their own pictures.
My idea is to create a table that all the pictures would with be displayed there, maybe also with small registration to avoid spammers.
I saw some ways in PHP but again I'm still not there.
Anyone can help?
Its not a tough job but for that youll need to have an idea about PHP.I think it can also be done with Java script but then i never tried. PHP is more preffered.
Do you have a huge hosting space or platform??? If not then dont allow pic hosting cos it will consume a lot of space and eat up your hosting space as well as bandwidth to load. Rather you can allow Image URL ie the image is hosted somewhere else and gets displayed through the url on your site. Somewhat like hotlinking. Thats going to save a lot for you.
Ok but the thing which you said " the login for members" is preety difficult. If you dont know php then its not possible. You need to create login for that also need to use session there a bit tough job.
If you just want to control spam then you can also do something like alowing certain size images or certain format images, ask user to key in certain captcha ect.
The upload script isant a big deal but the other things are indeed bit tough
Hi all
I succeeded to find code to upload pictures up to 1024kb.
Now if someone could help me to submit it directly to public view?
You can see the page following (it's still not in the official nenu). [Only registered and activated users can see links. ]
Yes the upload is succesful for me. But then those image would get saved in a folder in your web space and the details are stored in a DB isant it????
They if you want to display those pics you will most probably need to write a script to display the pics in HTML format.
And one more thing is after uploading the pic you have set the header page as your sites index page rather you should set it to your Image gallary page. So that the gallary directly opens.