joseph o’hara enterprises

2030 Shadow Pine Drive, Brandon, FL
hosting solutions
web hosting



Rate Our Script

Filename: JOImageGallery.php
Language: PHP

This short script will generate a photo gallery web page with optional captions. The viewer can click on a thumbnail to see the full-size picture.
<a href="http://your.domain/JOImageGallery.php?dir=location">
where "location" is the path to the picture directory.

  • Unzip the download file
  • Edit the following line in
    • $pgtitle - Title of web page
    • $divwidth - Width of full display area, default 884px
    • $thumbheight - Height of thumbnail photos, default 150px
    • $stylesheet - pathname of stylesheet or null
    • $bgcolor - specify background color as #NNNNNN
    • $exten - the picture extension, default .jpg
    • $text - the caption file extension, default .txt
    • $textcolor - specify text color as #NNNNNN
    • $myfontsize - Font size of captions, default 10pt
  • Upload JOImageGallery.php and JOImageDisplay.php to your web directory.
  • Upload a copy of to your web directory. These will be your default settings.
  • Edit and upload a copy of to your picture directory. These will be the settings for this directory display.
  • You're done!

Image Gallery

The script will generate a table of thumbnail pictures. For each picture it finds in the specified directory, the script will look for a caption file, identified by the same basename as the picture with the $text extension.

Sample Gallery
florida web hosting small business web hosting
florida webcrafters web hosting