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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.