Page 1 of 1

PHP / XML image gallery ??

Posted: Thu Jun 23, 2005 9:26 am
by delarge
Hello all!

I recently converted most of my sites & work to glorious PHP and kissed goodbye to error ridden and underperforming ASP...

However I had to leave one site behind as I cannot find a php equivelent of what I'm using...

Maybe someone can help....

The site scenario:

It's an image gallery of over 1000 images, currently running in ASP...
It uses an XML file to store all the info about the pics.

e.g.

Code: Select all

<picture>
<image>230605DSCF0029.jpg</image>
<text>Brighton, UK</text>
</picture>
<picture>
<image>230605DSCF0044.jpg</image>
<text>Brighton, UK</text>
</picture>
<picture>
<image>230605DSCF0063.jpg</image>
<text>London, UK</text>
</picture>
This displays the pic and a caption.
See the site in action:
>> Street Stickers

The next and back links are powered by javascript.

Now I am fed up of ASP - It ran OK for a year or so, now it sometimes errors depending on how the server is feeling/ a refresh sorts it but the general idea is that I want to convert this to PHP.

I have seen lots of good PHP gallery scripts - but I need to preserve the picture order etc... and with over 1000 images up there I can't rename them all for a 'dump your pics in a folder' script.

Does anyone know of a script that is a php equivalent of this?

I have found this which seems to be a start:
http://www.hansanderson.com/php/xml/

I need a PHP image gallery script that uses an XML file for the image info... and allows captions

Any help would be AMAZING!!!

Thanks!!