View Full Version : PHP Image Gallery

11-18-2006, 12:30 AM
1) Script Title:

2) Script URL (on DD):
3) Describe problem:
erm simply dont know what to do at all, dont know here to edit the code and where to specify anything.

when i create my site i create a folder called site, inside that a folder called images where i store all my images, and outside that folder all my html files.

now this is where i get really lost

FF1+ IE5+ Opr7+
PHP Photo Album script
Author: Dynamic Drive

You're almost there- now be sure that the reference to the PHP file inside the code of Step 3 is correct:

<script src="http://www.mysite.com/gallery/getpics.php" type="text/javascript"></script>

where "http://www.mysite.com/gallery/getpics.php" correctly refers to the location of the PHP script on your server, and "gallery" is in fact the directory containing all the images you wish to be shown. Be sure the variable "imagepath" is set up in a similar fashion as well.

All that's left now is to configure a few more options within the code of Step 3 per the comments, such as whether the links should open in a popup window, the text to display underneath each image (ie Photo 1, Photo 2 etc) etc.


11-18-2006, 08:06 PM
any one...