Home > Javascript, PHP > Cycle Pictures Of A Directory

Cycle Pictures Of A Directory

April 26th, 2009

Hi,

I am looking for a little javascript (if absolutely needed can be done in php too) that does the following.

One picture at a time should be displayed on a html page.(see attachement)
The picture that should be displayed is taken out of a picture directory.
In this picture directory are only picture files named: 090424.jpg, 090422.jpg, 090420.jpg, 090331.jpg and so on. File names are always YYMMDD.jpg.

The script should do the follwing:
If the showpicture.html page is opend the picture directory should be scanned and the newest picture (the one with the highest number) should be displayed. There are two links on the showpicture.html page named next and previous. If user clicks on next, the picture before should be displayed if user clicks previous the previous picture should be displayed and the user should be able to cycle through the pictures.

thats it.

Happy bidding, I would need this script relatively fast. (12 -36 hours)


Cycle Pictures Of A Directory

Comments are closed.
Bear