Skip to content
This repository

A crude solution for publishing a photo roll on the web

branch: master
Octocat-spinner-32 css Minor cosmetic tweaks, new background July 01, 2013
Octocat-spinner-32 images Implemented somewhat better password protection using July 12, 2013
Octocat-spinner-32 js implemented handling of originals February 01, 2013
Octocat-spinner-32 photos Replaced Stream with Photocrumbs July 23, 2013
Octocat-spinner-32 .gitignore phpliteadmin.php updated. .gitignore added. October 05, 2012
Octocat-spinner-32 README.md Implemented somewhat better password protection using July 12, 2013
Octocat-spinner-32 archive.php Minor fix January 24, 2014
Octocat-spinner-32 config.php Replaced Stream with Photocrumbs July 23, 2013
Octocat-spinner-32 favicon.ico New favicon.ico January 03, 2013
Octocat-spinner-32 favicon.svg New favicon May 23, 2012
Octocat-spinner-32 gpl-3.0.txt gpl-3.0.txt added April 22, 2012
Octocat-spinner-32 index.php Protection against SQL injections added January 17, 2014
Octocat-spinner-32 install.sh Minor tweaks June 28, 2013
Octocat-spinner-32 photo.php Protection against SQL injections added January 17, 2014
Octocat-spinner-32 photocrumbs.php Added hyperlinked sub-directories August 05, 2013
Octocat-spinner-32 phpliteadmin.config.php Updated phpLieAdmin to version 1.9.4.1 June 20, 2013
Octocat-spinner-32 phpliteadmin.php phpliteadmin 1.9.5 January 25, 2014
Octocat-spinner-32 publish.php Protection against SQL injections added January 17, 2014
Octocat-spinner-32 pygmyfoto.sh Fixed single quote escaping June 21, 2013
Octocat-spinner-32 randomphoto.php Protection against SQL injections added January 17, 2014
Octocat-spinner-32 rater.php Added star rating June 23, 2013
Octocat-spinner-32 rss.php Protection against SQL injections added January 17, 2014
Octocat-spinner-32 search.php Protection against SQL injections added January 17, 2014
Octocat-spinner-32 stats.php Protection against SQL injections added January 17, 2014
Octocat-spinner-32 unpublish.php Protection against SQL injections added January 17, 2014
README.md

Pygmyfoto is a crude solution for publishing a photo roll on the web. The application allows you to give a brief description and assign tags for each published photo. In addition to that, Pygmyfoto automatically processes and displays key EXIF data (exposure, aperture, and ISO), adds a link to the full-size version of the photo, and generates a map URL. The latter lets you view the exact place where the photo was taken using the OpenStreetMap service (provided the photo has been geotagged). Pygmyfoto features a few creature comforts, including the search by tags functionality, rating capabilities, and simple view statistics.

Requirements

  • Apache server with PHP5
  • ImageMagick
  • ExifTool

Installation and Usage

  1. Install the required packages. On Debian and Ubuntu, this can be done by running the following command as root: apt-get install apache2 php5 sqlite3 php5-sqlite imagemagick libimage-exiftool-perl git

  2. Switch then to the /var/www directory and clone Pygmyfoto’s GitHub repository: sudo git clone https://github.com/dmpop/pygmyfoto.git

  3. Use the sudo chown www-data:www-data -R pygmyfoto command to change the directory's owner and group.

  4. Switch to the pygmyfoto directory, open the phpliteadmin.config.php file in a text editor, and replace the default password by editing the $password = “admin”; line. Modify the default values in the config.php file, if necessary.

  5. Add photos to the pygmyfoto/photos directory, run the ./pygmyfoto.sh command in the terminal, and provide the required info.

  6. Point the browser to http://127.0.0.1/pygmyfoto (replace 127.0.0.1 with the actual IP address or domain name of your server) to access Pygmyfoto.

  7. To access and manage the pygmyfoto.sqlite database, make it writable using the sudo chmod 600 pygmyfoto.sqlite command. Point then the browser to http://127.0.0.1/pygmyfoto/phpliteadmin.php and log in using the password specified in the phpliteadmin.config.php file.

Something went wrong with that request. Please try again.