Jump to content

[SOLVED] Auto generate php pages from image folder?


plinth

Recommended Posts

Hi, I have about 50 images in a folder all called "Fig 1.jpg", "Fig 2.jpg" etc. I'd like to create a system whereby a user can browse these images, each embedded into a webpage that has a standard 2-column css layout and "prev" and "next" links to move through the images.

 

The template for the css/layout is no problem, but as a php noob I'd like some help on the other bit please.

 

I'd like to avoid using a database to manage the images if at all possible (constraints put upon me by the client), and as ever there's a tight deadline so any help you can provide will prevent more hair loss from me hand-creating 50 html pages and keeping track of every link!

 

  Cheers

So where exactly are you stuck? Code would help.

 

I'm afraid I'm working from ground zero, so there is no code! I'm basically a php part-timer, in that I'm happy to play around with things like Wordpress and tweak other people's code, but I can't write from scratch.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.