A simple application wirtten in PHP and JavaScript that uses Leaflet to show geotagged photos on the OpenStreetMap map.
- Web server (tested with Apache)
- PHP 7.x or higher
- PHP-GD and PHP-EXIF modules
- Fetch the latest code using Git with the
https://github.com/dmpop/pinpinpin.git
command. Alternatively, download the code as a ZIP archive from the project's GitHub repository. - In the resulting pinpinpin directory, open the index.php file for editing. Specify the correct path to the directory containing photos (the
$photo_dir
variable) and the desired file extensions (the$ext
variable). Save the changes. This step is optional. - Move the resulting pinpinpin directory to the document root of the web server.
- Put photos into the specified photo directory.
PinPinPin doesn't support subdirectories.
- The map automatically centers on the most recent photo.
- Click on a marker to see a photo preview in a popup.
- Click on the preview image to open the full-resolution original in a new browser window.
- Use + and - buttons or the mouse to zoom in and out.
The Linux Photography book provides detailed instructions on installing and using PinPinPin. Get your copy at Google Play Store or Gumroad.
Please report bugs and issues in the Issues section.
If you've found a bug or have a suggestion for improvement, open an issue in the Issues section.
To add a new feature or fix issues yourself, follow the following steps.
- Fork the project's repository.
- Create a feature branch using the
git checkout -b new-feature
command. - Add your new feature or fix bugs and run the
git commit -am 'Add a new feature'
command to commit changes. - Push changes using the
git push origin new-feature
command. - Submit a pull request.
Dmitri Popov dmpop@cameracode.coffee