|Released on||March 4th, 2013 (2013-03-04)|
|Focus||Major feature enhancements|
Version 2.5 brings both functionnal and technical changes, from new icons to group manager, including external authentication such as OpenID or Wordpress.com. Piwigo 2.5 in numbers: 30+ new features, 900+ code changes performed by 7 developers and 100+ translators, 4 new languages expanding Piwigo to 51 languages out of the box, 8 months of preparation.
User comments ask for an email and website. By default, these new fields are not mandatory.
On screen [Administration > Photos > Tags] you can duplicate tags. Piwigo will also duplicate associations with photos.
Pagination on albums, just like on thumbnails. You can modify the number of albums per page on screen [Administration > Configuration > Options > Display].
In the Batch Manager, you can filter photos on dimensions (width, height and ratio). We have also added some quick links for specific ratios:
Piwigo gets an improved group manager. Just like the photo batch manager, you can apply an action to several groups at once. With the new group manager, you can merge and duplicate groups.
With the new plugin oAuth, your visitors can log in with external authentication: Google, Facebook, OpenID, Instagram, LinkedIn, Tumblr, Twitter, Windows Live, Flickr, Wordpress and Yahoo!.
Since Piwigo 2.4, when displaying thumbnails, you can sometimes see that the thumbnail is not available because Piwigo has to generate it. With Piwigo 2.5, if the thumbnail is not available we display a default icon, which is replaced by the thumbnail as soon as possible, without reloading the page.
Piwigo 2.5 adds 4 new languages compared to Piwigo 2.4.0: Galician (Galego), Lithuanian (Lietuvių), Tamil (தமிழ்), Hong-Kong (中文香港). That's another huge piece of work from the translation team. Translators have adopted the translation platform.
On albums list, you can easily see the physical albums (physcial album = created as a FTP directory).
We have implemented an advanced protection for original photos. In your local configuration file, add $conf['original_url_protection'] = 'images'; and in the upload (+ galleries if you add photos through FTP) add a .htaccess file with Deny from all. You will still be able to download original photos but not with a direct link.
The query "john -natasha" will find all photos tagged john and exclude all photos tagged natasha.
By default, Piwigo associate an IP address to each visitor session. Sometimes it is a problem when you're behind a badly configured proxy which changes IP address on each web browser request. This is why we have added an advanced configuration setting to let you disable this security. Simply add $conf['session_use_ip_address'] = false; in your local configuration file.
Please note that more detailed documentation is available about Technical changes in Piwigo 2.5. Please read it to make your extensions compatible with Piwigo 2.5.
The Piwigo web API explorer gets a new graphical design. You can open it with your web browser, on your Piwigo installation on tools/ws.htm
Password security is strongly improved with the use of PasswordHash class. This class performs salt and multiple iterations. Already used in Wordpress, Drupal, phpBB and many other web applications. MD5 passwords will be gradually and automatically updated to salted passwords.
If available, Piwigo will use PHP mysqli extension for MySQL queries, instead of the old PHP mysql extension. Developers, please check your plugins because mysql_* functions are broken.
In the language switch box, instead of loading 51 flag files, ie 51 HTTP requests, all flags are now on a single picture file and CSS rules split the picture correctly in your web browser.
In plugins, you can now use $_SESSION['page_infos'], $_SESSION['page_errors'], $_SESSION['page_warnings'] to transmit various messages on page reload.
New triggers loc_begin_* and loc_end_* on comments.php, identification.php, notification.php, password.php, profile.php, register.php, search.php, tags.php. We try to make plugin developer life simpler!
Introduction of two template methods to add buttons to index page and picture page toolbars, allowing you to place buttons relative to each other :
New versions of jQuery, jQuery UI and other jQuery plugins we use in Piwigo Core (colorbox, chosen, crop)
Many plugins are not compatible with the mobile theme. To increase performances, when detecting mobile device we store the information in the session as a cache. Checking is now much faster.
We have added 3 triggers: user_login, user_logout, try_log_user. It makes plugins for external authentication easier to create (such as oAuth).