Upgrade data

This commit is contained in:
root
2024-11-27 15:03:33 +00:00
parent 5c3fb9384f
commit 14dfbb84f9
205 changed files with 460366 additions and 667 deletions

49
README.md Normal file → Executable file
View File

@@ -1,31 +1,42 @@
# PiwigoImagesAndGPX
<img src="https://piwigo.org/plugins/piwigo-piwigodotorg/images/piwigo.org.svg" width="200" alt="Piwigo logo">
Create an map which can display one GPX file and/or Images from a piwigo category
Demo (map on the top) : http://leo.lstronic.com/piwigo/index.php?/category/6
Manage your photo library. Piwigo is open source photo gallery software for the web. Designed for organisations, teams and individuals.
# Installation
![screenshot](https://piwigo.org/screenshots/github-screenshot-2.10.jpg)
Put the `imagesInCat.php` file and `iFrameGPX` folder in your piwigo folder.
Add GPX files in the `iFrameGPX/GPS/` folder.
The [piwigo.org](https://piwigo.org) website introduces you to Piwigo. You'll find a demo, forums, wiki and news.
## Requirements
You will need to install piwigo-openstreetmap plugin, and geolocate some photos.
* A webserver (Apache or nginx recommended)
* PHP 7.4+. Piwigo can run with PHP 7.0+ but these end-of-life versions are no longer maintained and may expose your site to security vulnerabilities.
* MySQL 5 or greater or MariaDB equivalent
* ImageMagick (recommended) or PHP GD
You will have to change the IGN API key if you want to use IGN baselayer
## Quick start install
# Usage
### NetInstall
## Parameters
* Download the [NetInstall script](https://piwigo.org/download/dlcounter.php?code=netinstall)
* Transfer the script to your web space with any FTP client
* Open the script in you web browser (for example http://example.com/piwigo-netinstall.php) and follow the steps
When asking the `iFrameGPX/index.php` file, you can pass some **GET** attributes :
[More information](https://piwigo.org/guides/install/netinstall)
* `dark`, if set, will use dark theme. Default = clear
* `scrollwheel`, if set, will enable scroll by mouse wheel on the map. Default = disable
* `basemap`, is the base map layer, can be : *osmfr*, *outdoor*, *outdoora*, *ostopo*, *ign*.
* `catID`, is the ID of a Piwigo category where to take photos, display photos with correct permissions. By default no photos
* `gpxID`, is the exact filename of the gpx file (without .gpx) which is on `iFrameGPX/GPS/` folder. will display nothing if the file doesn't exists.
### Manual
## Example of usage
* Download the [latest stable version](https://piwigo.org/download/dlcounter.php?code=latest) and unzip it
* Transfer everything to your web space with any FTP client
* Open your website (for example http://example.com/piwigo) and follow the steps
Here is the code to insert using iframe, enabling HTML5 fullscreen API :
[More information](https://piwigo.org/guides/install/manual)
<iframe src="http://leo.lstronic.com/piwigo/iFrameGPX/?dark=1&basemap=outdoor&gpxID=HrpJ37&catID=12" marginheight="0" marginwidth="0" frameborder="0" height="600" scrolling="no" width="100%" allowfullscreen></iframe>
If you do not have your own server, consider the [piwigo.com](https://piwigo.com/) hosting solution.
## Contributing
Piwigo is widely driven by its community; if you want to improve the code, fork this repo and submit your changes to the `master` branch. See our [Contribution guide](https://github.com/Piwigo/Piwigo/blob/master/docs/CONTRIBUTING.md).
## License
Piwigo is released under the GPL v2 license. See our [Copying details](https://github.com/Piwigo/Piwigo/blob/master/COPYING.txt).