...

View Full Version : Best Solution to Allow Visitors to Upload Images



aejacks8
03-19-2010, 11:14 PM
Hi Coding Forums,

I thought there would be some great scripts for allowing a visitor to upload an image to a site, but I haven't found anything simple.

What I'm looking to do:

1) Allow any visitor of the site to upload an image(s)
2) Have Site Admin approve uploaded picture before it goes live
3) Auto-Resize Image and place inside a gallery on the same (or different) page

This sounds pretty simple or am I crazy?

Thanks in advance for any suggestions!

mlseim
03-20-2010, 12:17 AM
PHP, GD (image library), and MySQL

You would need to write your own admin section (to view and authorize photos).
You need to do the PHP upload and resize thing using GD.

Use some sort of captcha thing, and a timed-limit on quantity using the user's IP.
You need a way to let people request that a photo be removed because if privacy
violation, copyright violation, or offensive in some way (more admin stuff to do).

It is fairly simple.

Now you either need to code it yourself, or find someone to do it for you.

aejacks8
03-22-2010, 06:11 PM
Thanks for the reply. I have to believe that someone has already done this and I can just buy a script. Thanks again!

mlseim
03-22-2010, 08:15 PM
You are absolutely correct ... but it sounded like you wanted to make your own.

aejacks8
03-22-2010, 09:18 PM
I'd love to make my own, but I'm not advanced enough in PHP to even know where to begin. Could you point me in the direction of a good script if you know of one?

Thanks,
Justin

Rowsdower!
03-22-2010, 09:24 PM
I haven't tried it, but this looks promising:

http://coppermine-gallery.net/

You would probably need to modify it a bit to allow people to upload without first registering (if that's what you want to do).

stevey17
03-22-2010, 10:28 PM
i wouldn't really recommend allowing visitors to upload stuff or less they are registered

Rowsdower!
03-23-2010, 04:01 PM
i wouldn't really recommend allowing visitors to upload stuff or less they are registered

Nor would I, but:


1) Allow any visitor of the site to upload an image(s)

It's what the OP seems to be asking for.

aejacks8
03-23-2010, 10:55 PM
Rows, Steve - Thanks for your replies. I took a look at CPG, but I'm not exactly sure how the upload process works. I registered on their forums to get clarification.

I still would like to assume theres a simpler solution for allowing uploads and managing those uploads. Thanks for everyones help so far!



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum