diff options
Diffstat (limited to 'readme.txt')
| -rw-r--r-- | readme.txt | 71 |
1 files changed, 48 insertions, 23 deletions
@@ -1,11 +1,11 @@ - Single File PHP Gallery 4.10.0 (SFPG)
+ Single File PHP Gallery 4.11.0 (SFPG)
- See END USER LICENSE AGREEMENT for commercial use
+ See END USER LICENSE AGREEMENT for commercial
- Released: 10-may-2022
- http://sye.dk/sfpg/
+ Released: 6-october-2022
+ https://sye.dk/sfpg/
By Kenny Svalgaard
@@ -35,7 +35,7 @@ Single File PHP Gallery does not require any configuration or programming skills You can see how it looks in the demo here:
- http://sye.dk/sfpg/
+ https://sye.dk/sfpg/
____________________________________________________________
@@ -51,7 +51,7 @@ Making a donation: Domain name must be clearly stated in the donation, otherwise the donation will not grant use of the script under donating conditions. Donations are not refundable.
Use the PayPal donate button on the page for donations:
- http://sye.dk/sfpg/
+ https://sye.dk/sfpg/
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -69,7 +69,7 @@ FEATURES * Zip option for download of gallery images and files
* Slideshow option
* PayPal integration for simple selling
- * Displays EXIF and IPTC information
+ * Displays EXIF, IPTC and PNG text chunks information
* Option to password protect gallery
* Administrator options to upload, rename, move, delete and create directories, images and files
* Administrator options to manage description and selling information
@@ -93,8 +93,8 @@ IMPORTANT INFORMATION For this to work, PHP needs permission to create, modify and delete in the GALLERY_ROOT.
* The gallery contains an automatic clean-up function that deletes unused files in DATA_ROOT.
- The gallery will clean up files in the DATA_ROOT that are no longer used by the gallery. So make sure not to use the DATA_ROOT for storing anything.
- The clean up routine is activated when viewing a directory where the number of subdirectories, images and/or files have changed since last access to the directory.
+ The gallery will delete files in the DATA_ROOT that are no longer used by the gallery. So make sure not to use the DATA_ROOT for storing anything.
+ The clean-up routine is activated when viewing a directory where the number of subdirectories, images and/or files have changed since last access to the directory.
For this to work, PHP needs permission to delete in the DATA_ROOT.
* The gallery contains options to delete images older than a set number of days, and empty directories. If using these options, make sure to have a backup of the GALLERY_ROOT.
@@ -104,13 +104,17 @@ IMPORTANT INFORMATION ____________________________________________________________
NEWS IN THIS VERSION
+ * Added option to extract and show PNG text chunks information.
+ * Fixed handling of images with corrupt EXIF date information.
+
+News from previous version:
* Added zip option to allow download of galleries as zip files. Zip option is disabled by default. See zip section for configuration options.
* Added detection of inaccessible GALLERY_ROOT. Script will show an error message if GALLERY_ROOT is inaccessible.
* Added TEXT_DAYS option, to allow setting localized representation of days.
* Added TEXT_MONTHS option, to allow setting localized representation of months.
* Other minor fixes, changes and enhancements.
-News from previous version:
+News from the version before previous version:
* Enabled script to be fully configurable from a wrapper file. See new section "USING A WRAPPER FILE".
* Moved SECURITY_PHRASE to a separate file in the DATA_ROOT. See the "SECURITY_PHRASE" description under the DATA_ROOT option.
* Added functionality to allow download of files stored outside web root (when GALLERY_ROOT is set to an absolute path).
@@ -126,7 +130,7 @@ News from previous version: * Minimum PHP version 7.0 is required.
* Other minor fixes, changes and enhancements.
-For changes in previous versions see here: http://sye.dk/sfpg/
+For changes in previous versions see here: https://sye.dk/sfpg/
____________________________________________________________
@@ -134,7 +138,7 @@ REQUIREMENTS For this gallery to function you will need the following:
* A web server capable of running PHP 7.0, or higher, scripts.
- * The PHP GD library (php_gd) installed. See here for information: http://php.net/gd
+ * The PHP GD library (php_gd) installed. See here for information: https://www.php.net/manual/en/book.image.php
* PHP write access to server.
* PHP memory limit large enough to contain both full size image and thumbnail. See the FAQ section for further information on this.
@@ -210,11 +214,11 @@ KNOWN ISSUES ____________________________________________________________
SUPPORT / REQUESTS / HELP / CONTACT
-If you need help getting Single File PHP Gallery to work, then please start by running the SFPG TEST script file on the server. The SFPG TEST script is a normal PHP page, and you can download it from the Single File PHP Gallery page. The script tests to see if the requirements for the script to run are met, and generates an output explaining what could be the issue. If the output from the script does not provide enough information for you to make the script work, then please use the contact form on the Single File PHP Gallery page. Describe the issue you are having and also copy/paste the information from the SFPG TEST script along with the description.
+If you need help getting Single File PHP Gallery to work, then please start by running the SFPG TEST script file on the server. The SFPG TEST script is a normal PHP file, you can download it from the Single File PHP Gallery page. The script tests to see if the requirements for the script to run are met, and generates an output explaining what could be the issue. If the output from the script does not provide enough information for you to make the script work, then please use the contact form on the Single File PHP Gallery page. Describe the issue you are having and also copy/paste the information from the SFPG TEST script along with the description.
If you have comments, questions, requests, greetings etc. regarding Single File PHP Gallery, please use the contact form on my page.
- http://sye.dk/
+ https://sye.dk/
____________________________________________________________
@@ -504,7 +508,7 @@ ____________________________________________________________ option('DIR_EXCLUDE_REGEX', '');
Use regular expressions to exclude directories from gallery view.
-See here for syntax: http://php.net/manual/en/pcre.pattern.php
+See here for syntax: https://php.net/manual/en/pcre.pattern.php
____________________________________________________________
@@ -564,7 +568,7 @@ ____________________________________________________________ option('IMAGE_EXCLUDE_REGEX', '');
Use regular expressions to exclude images from gallery view.
-See here for syntax: http://php.net/manual/en/pcre.pattern.php
+See here for syntax: https://php.net/manual/en/pcre.pattern.php
____________________________________________________________
@@ -677,7 +681,7 @@ ____________________________________________________________ option('FILE_EXCLUDE_REGEX', '');
Use regular expressions to exclude files from gallery view.
-See here for syntax: http://php.net/manual/en/pcre.pattern.php
+See here for syntax: https://php.net/manual/en/pcre.pattern.php
Example for excluding all files starting with a dot: option('FILE_EXCLUDE_REGEX', '/^[.]/');
@@ -702,7 +706,7 @@ Set an URL to show a button that will function as a link to the set URL. This ca Set to '' to not show the button.
Example 1: Set to '/' to have button take you to the root of your web.
-Example 2: Set to 'http://www.yoursite.com/page.html'.
+Example 2: Set to 'https://www.yoursite.com/page.html'.
See TEXT_LINK_BACK for the text on the button.
@@ -799,7 +803,7 @@ option('SORT_ALL_NATURAL', TRUE); Set to TRUE to have directories, images and files sorted in a case insensitive "natural order".
Set to FALSE to have elements sorted normally.
-See here for information: http://php.net/natcasesort
+See here for information: https://php.net/natcasesort
____________________________________________________________
@@ -838,6 +842,21 @@ INFO: The extraction of information is done when the thumbnail is generated. So ____________________________________________________________
+option('PNG_TEXT_CHUNKS', TRUE);
+
+Option to extract and show PNG text chunks in the gallery information panel. Only "tEXt" is extracted. "iTXt" and "zTXt" is not extracted.
+
+Set to TRUE to extract and show all PNG text chunks.
+Set to an array of selected PNG text chunks to extract and show.
+Set to FALSE to not extract or show PNG text chunks.
+
+INFO 1: When setting to an array, all keywords should be entered in low case.
+INFO 2: The extraction of information is done when the thumbnail is generated. So changing what is extracted requires you to delete the contents of the DATA_ROOT, to have new thumbnails generated.
+
+Example array configuration: option('PNG_TEXT_CHUNKS', ['title', 'author', 'description']);
+
+
+____________________________________________________________
option('SHOW_INFO_BY_DEFAULT', FALSE);
Set to TRUE to have the gallery open the Information panel by default, the user can still click the Information button to hide the panel.
@@ -944,7 +963,7 @@ If no images or files are found matching zip configuration this text is shown. ____________________________________________________________
option('TEXT_ZIP_DL', 'Download all images in this directory as a zip file:');
-Set the text that is shown above the zip button in the Info panel.
+Set the text that is shown above the zip button in the information panel.
If allowing download of only images, set to: 'Download all images in this directory as a zip file:'
If allowing download of images and files set to: 'Download all images and files in this directory as a zip file:'
@@ -957,7 +976,7 @@ option('TEXT_ZIP_BUTTON', 'Generate zip-file and download'); Set the text on the zip button.
-The button is shown in the Info panel.
+The button is shown in the information panel.
____________________________________________________________
@@ -1837,7 +1856,7 @@ Set to '' to not show the map link. ____________________________________________________________
-option('EXIF_MAP_LINK', 'http://maps.google.com/maps?q=[lat],[long]');
+option('EXIF_MAP_LINK', 'https://maps.google.com/maps?q=[lat],[long]');
Set the link to map function like Google maps. When clicked link will be launched in a new page.
Latitude in decimal will be filled in where this string is: [lat]
@@ -1854,7 +1873,7 @@ Set to '' to disable the embedded map in the gallery. ____________________________________________________________
-option('EXIF_MAP_EMBED_LINK', 'http://maps.google.com/maps?q=[lat],[long]&output=embed');
+option('EXIF_MAP_EMBED_LINK', 'https://maps.google.com/maps?q=[lat],[long]&output=embed');
Set the link to map function like Google maps. The map is imbedded in the information panel in the gallery.
@@ -1865,6 +1884,12 @@ Set to '' to disable the embedded map in the gallery. ____________________________________________________________
+option('TEXT_PNG_CHUNKS', 'PNG text chunks');
+
+Text for the title of the PNG text chunks box in the information panel.
+
+
+____________________________________________________________
option('TEXT_IPTC', 'IPTC');
Text for the title of the IPTC box.
|
