PHP / XML image gallery ??

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
delarge
Forum Newbie
Posts: 1
Joined: Thu Jun 23, 2005 8:58 am
Location: Brighton, UK

PHP / XML image gallery ??

Post 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!!
Post Reply