Hello, i'm making a website, it's a website whith many pictures. I already have gallery running

.. but I was in need for something more, so I made a index.htm file to put in some directories where I need this special layout of the pictures
I've attatched the source of the file ->
as you can see I have three bigpictures which I call big1.jpg .. big3.jpg
and a scrolling line of 6 pictures which I call 1.jpg .. 6.jpg
when a picture is being clicked on .. it's being displayed as big2.jpg so the middle picture .. pretty cool

'I think'
but now, I want to add more pics to the sliding picture bar .. but without editting all the html code inside the index.htm, so I thought maybe a little PHP can help me with this

.. so maybe that I can just upload pics called 1.jpg, 2.jpg, ... 21.jpg, 22.jpg, ect. and some php script automaticaly puts the pics in the sliding bar .. that would be perfect..
Thanks,
FRANK
The Netherlands