Viewing image by ID

Not sure if this is the wrong forum for this, If not I apologize.

Basically what I want is When a person comes to my url, they put in an “ID” Say like pic20413, Then hit submit, and ot brings that picture up.

I dont want them to see the gallery, just the images that I give them the ID to. Is there a script out there for that or would it be better to build it from scratch?

Any help would be appreciated.

It would not be hard to write all you need is a form and a database with the location. I doubt you will find anything “off the shelf” to do it.

Thats what I was thinking. Thanks for the reply.