Image selector


I have images that upload to a folder. I would like to be able to have all of the image show up and then when I click on an image and select which page for it to go into, and click Submit it puts that image (rather it’s URL) into a field in the database.

Any ideas for tutorials or just how to do this. I am pretty new to image uploading.