Welcome to ZPG's Project Homepage

Zub's Photo Gallery is a simple PHP photo gallery system. It doesn't require database or imaging support on the server and generates clean and valid HTML.

I use it to:

  • Put my photos on the web, easily and quickly.
  • Create HTML galleries to archive pictures on CD-ROMs.

News

2004-10-26 First public release

Zub's Photo Gallery v0.5 is out :-P

Features

ZPG has "grown" from a really simple core, and it has been written to meet my personal needs with photo sharing. So it doesn't do a lot of things, nor it wants to...

Anyway it has some features:

  • Lightweight and simple
    Doesn't require database or imaging support on the server. Hopefully it's fast.
  • Generated HTML is clean, simple and valid
    It's browsable by all decent and semi-decent browsers by non technical people.
  • Can be administrated remotely
    Ability to change some options and edit galleries with a web interface.
  • Flexible upload scripts
    Easy uploading of pictures to a remote server or to localhost webserver. GQview (and others) can be configured easily to do the job, using ZPG upload scripts.
  • Uses CSS, so it is somewhat themeable
  • Supports gallery and photo comments
  • Shows EXIF data, if available
  • Easy navigation
    Not a million links to choose. Thumbnails to previous/next picture.
  • Supports JPEG and PNG image file formats
  • Multilingual support
    Currently English and Spanish.

Requirements

On the server

  • PHP-enabled web server
    Not that hard to guess :-) I only tried with Apache and PHP4.
  • FTP server
    If the server is on a remote machine. A ssh (scp) version should be trivial to write.
  • Exif support on PHP
    Not required, but nice if you have a digital camera.

On the workstation with the original pictures

  • Bash
    Upload scripts are Bash shellscripts.
  • Imagemagick
    For resizing pictures and thumbnail generation.
  • NcFTP
    ncftpput is used to upload to ftp server. Not needed if the webserver isn't on a remote host.

To Do

ZPG does almost everything i need. That's not much, i know. Anyway i found it fun to write it and if i have enough interest i could do the following, some day:

  • Forget HTML 4.01 Transitional. XHTML is the way to go.
  • Using tables to do the layout is an horrible hack. I should be using pure CSS to do it. But i need it to display well on IE...
  • Ability to make new users, other than "admin", to let them make comments or, may be, upload pictures.
  • Rename galleries (easy one)
  • More scripts to upload photos using other methods. (Currently you can upload to a remote host only with ncftpput). PHP upload, may be?
  • If the number of galleries grows, a method to organise them is needed: By date (grouped by months), just the last N are shown...
SourceForge.net Logo