Making a front end for uploading to G2

MichelleC

Joined: 2005-04-16
Posts: 42
Posted: Sat, 2005-08-27 16:52

Our camera club takes digital submissions for the photo evaluation. Each month has more than one category of photo. I want to make it easy for people who don't know much about computers to upload their photos into the right albums. So rather than use the standard G2 upload interface, I want to make a custom page as follows:

* Each photo will have a textbox, a drop down, and a button. They should be able to click the button and find a file on their hard drive to put into the textbox. Then they pick which category the photo goes in from the drop down.

* Once they have the box(s) filled in, they should click a submit button to upload the photos to the appropriate albums.

I'm ok with designing the page up to the submit button. That's where I don't have a clue what to do. How do I take this list of photos, grab them from the hard drive, and run them through the G2 uploading process so they go into the right albums and are resized as needed and thumbs created? Also, users would need permission to upload to these albums but not view what's in them.

Does this sound doable to someone who's not an expert at PHP? :lol: I can code a bit, but I'm pretty inexperienced with PHP. Any suggestions, hints, offers to write the thing for free? :wink:

Thanks,

Michelle

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Mon, 2005-08-29 16:29

this is doable, but does take some php ability.. you can copy modules/core/ItemAdd.inc and make a similar view that selects the target album for the uploaded image based on the dropdown selection.

 
MichelleC

Joined: 2005-04-16
Posts: 42
Posted: Mon, 2005-08-29 16:32

Well, I have "some" PHP ability. I'll take a look at that and see just how much is needed... ;)

Thanks,

Michelle