Im in the midst of designing a personal site. One of the pages im intending to put photo's on . What i have in mind is when people open that photo page they are presented with little "kinda like a screenshot or miniture version of the picture) and when they click on the picture they get a separe browser loading which loads up the picture but on a bigger scale.

im not describing it well but its like when you visit a forum and people submit pictures to Imageshack and then in the forum thread they link to it . When a user then opens the thread a smaller version of the picture is presented to them and they can then click on the picture to get a bigger version.

Thats what i want to do except all the pictures will be hosted on my own server.

I hope someone understand and can help me out.