HTML5 upload, Take a Tour plugin
Piwigo version 2.7 features many major improvements. We hope you’ll love them as much as we do! The web upload form has been rewritten from scratch. A new plugin "Take a Tour" offers interactive tours within your own Piwigo. Search features have been extensively enhanced. Owners of large photo galleries will appreciate speed improvements. Plugin developers will discover many new technical features.
The web upload form has been rewritten. The new upload form in Piwigo 2.7 is based on HTML5 instead of Flash, it means a better compatibility with modern web browsers as well as an increased reliability using slow connections, thanks to chunked upload. Drag & drop will make photo selection much easier from your file browser!
You can open a local file browser with the "+ Add Photos" button, or you can drag & drop files into the files area. During upload, a warning will be fired if you try to leave the page. You can cancel the transfer at any time.Advanced feature : now you can upload any file type. In your local configuration, set conf['upload_form_all_types'] = true; and Piwigo will let you upload any file matching $conf['file_ext']. If you activate a plugin like VideoJS, you will be able to upload videos. Piwigo will automatically generate a representative picture for your videos and PDF files.
The new plugin "Take a tour" is a live guide within your Piwigo. Activate it and follow the steps! There are currently 3 tours available: "first contact", "privacy" and "new features in 2.7". More to come!
A search filter has been added to the batch manager. It comes with a powerful syntax to search for photos on dates, tags, size, file name and also search options like exact match, AND/OR, grouping, exclusion. Detailed help is available, just click on the (?). The same powerful syntax applies to the quick search field on the public side menu.
In the Batch Manager, find duplicates not only on file names but also on date & time and width & height
Still in the Batch Manager, find your photos with the new filter on file size.
Easy action link to empty your caddie in just one click.
The Search page has been reworked: ability to select properties on which the word search applies, list of authors found in database, auto-complete list of tags, auto-complete list of albums...
You can now edit the time as well as the date on photos.
When editing a photo, you can click on its thumbnail to open a bigger size, without leaving the page.
You can disable the website field in user comments.
Now you can sort your albums based on the photos creation date or posted date.
New filter to find your plugins easily before install. With 150+ plugins compatible with Piwigo 2.6, it's more than helpful!
Piwigo 2.7.0 adds two new languages: Basque (Euskara) and Luxembourgish (Lëtzebuergesch). Your participation is welcomed on Piwigo.org translation platform, for new languages, improvements and new strings to translate in Piwigo core but also in plugins and themes. There are many strings to translate so we really need help from Piwigo community!
Please note that more detailed documentation is available about Technical changes in Piwigo 2.7. Please read it to make your extensions compatible with Piwigo 2.7.
Two caches were added to improve global performances on large galleries (with tens of thousands of photos and more).
We dropped two JavaScript libraries used for the multiple-selection of albums and tags in favor of Selectize, much more powerful and versatile. It is also used for users and groups.
Piwigo by default ignores folders "thumbnail", "pwg_high" and "pwg_representative" when syncing files. Now you can tell it to ignore some other folders by filling the $conf['sync_exclude_folders']
parameter with LocalFiles Editor plugin.
user_id
field sizeThe database fields storing the user identifier have been increased to 8 digits, allowing up to 16M users (previously limited to 30k).
The "one-use" key sent by email when a user requests to reset his password expires after one hour. To increase security, the reset key is now stored as a hash.
Updated libraries: jQuery 1.11.1, jQuery UI 1.10.4, Colorbox 1.4.1. New libraries: jQuery UI Timepicker 1.4.4, Plupload 2.1.2 and Selectize 0.9.1.
A new special file called maintain.class.php
has been introduced. It replaces the old maintain.inc.php
file with more flexibility and handling of plugins manually updated (by FTP). The migration to this new system is advised but not mandatory.
Following what has been announced for Piwigo 2.6, the functions trigger_event
and trigger_action
have been renamed in trigger_change
and trigger_notify
. The old functions don't exist anymore.
conf_update_param
function, used to create and update in-database configuration, got some nice enhancements: it automatically serialize and escape the input data and allows to update the global variable $conf
as well.
The function add_event_handler
now accepts as 4th parameter the path a file to include before executing the callback. Don't do useless global imports anymore in your main.inc.php
!
The fonction load_language
got a new option named force_fallback
allowing the tell Piwigo to always load the language file in a certain language (typically en_UK
) before loading the actual localized file.
Theme creators are now advised to define $themeconf['colorscheme']
to "dark" or "clear" (and nothing else), in order to help plugins developers to choose the right stylesheet for their components.
Three new triggers to allow plugins to add their own filters in the Batch Manager: batch_manager_perform_filters
, batch_manager_register_filters
, batch_manager_url_filter
. perform_batch_manager_prefilters
still exists for the special case of predefined filters.