a major update, focused on design and user experience
We are thrilled to present Piwigo’s latest update!
This 2.10 version marks a turning point in Piwigo’s history, as it is the first step for a new Piwigo, redesigned according to current standards. The journey is not over yet, still we are proud of the work that has been made by our talented designers. But design is nothing without user oriented features brought to you by our dedicated developement team and great contributors.
Let us lead you through this Piwigo 2.10 release note!
Modus, a theme created a few years ago, becomes the default theme for Piwigo 2.10. Modus was selected because it is stable, compatible with high definition screens and compatible with many extensions. Last but not least, Modus is responsive. Meaning it automatically adapts to small screens such as a phones and to wide screens such as a televisions.
My name is Hannah, currently studying User eXperience (UX) design at ActivDesign in Rennes (France). I started working for Piwigo as an intern in January 2019, my main mission is to modernise the look of Piwigo.
Brainstorming with Pierrick, we decided to start with refreshing the default gallery theme. Firstly we switched to Modus for its responsivness, its capability to adapt to high definition display but nonetheless needed a visual update to comply with 2019 standards. Therefore I created 8 new skins, changing colors, spacing, hiding some buttons that weren’t needed, rounding corners... my favourite is Blueberry.
New overall design, with new header, menubar and tabs. There is less borders, more empty spaces
My name is Samuel Lefebvre and I am a UX UI designer. As a trainee for Piwigo, my main role was to improve the aesthetics of the administration interfaces, i.e. User Interface (UI). I also worked to improve user workflow, i.e. User eXperience (UX).
Before starting the redesign of the administration, I spent a lot of time using it in order to better understand the difficulties that users could encounter. On the other hand, I also studied competition. I hope you’ll like this new vision of the Piwigo administration!
The administration dashboard in our new dark mode. This colorscheme was designed for users working in low light environments. Of course background is "much" darker, but you’ll also notice fonts are less contrasted in sidebar menu. We want Piwigo to be comfortable for your eyes!
We have tried to make it as "nice and clean" as possible, so you can focus on the important task: uploading your photos.
Instead of requesting to synchronize metadata on all photos at once, the batch manager smartly cuts the whole block into smaller blocks and shows a progress bar.
Don’t panic, we’re not removing the feature, we just decided to turn it off by default. You might ask "Why turn off an existing feature?". Because too many features visible might scare people that are testing Piwigo. We need to smartly select what is most important for the majority.
On Piwigo.com, where we host thousands of Piwigos, we have some interesting statistics on used features. Concerning user comments, only 16% of Piwigo installations have more than 10 user comments. Moreover many of them are users using comments instead of photo descriptions.
The batch manager helps you to find duplicates photos. This feature is not new, but we improved it for Piwigo 2.10. Now if you search duplicates based on date, photos will be sorted by date, so that you can easily compare duplicates as series.
We know Android 10 was announced a few days ago, but even the previous version Android 9 is not running on many devices these days. The mobile theme, SmartPocket, was not correctly loaded with Android 9. This is fixed in Piwigo 2.10.
Talking about SmartPocket... even if Modus, Piwigo 2.10's new default theme, is responsive, we are keeping SmartPocket activated by default. It means it will be used automatically if Piwigo detects the visitor is using a mobile device. You can deactivate SmartPocket if you prefer to always use Modus.
From the album edition page, tab "permissions", you could already set the sub-albums private. Now it’s also possible to set them public.
Again, not a new feature but we’ve made it simpler to activate. Piwigo can display the dates of the photos associated to the album. Please note that all themes will support it. For example, Modus only shows album dates if you disable square thumbnails for albums.
We encourage all Piwigo users to subscribe to Piwigo.org newsletter, but once you are subscribed it’s obviously no longer necessary to show you the subscribe link. With Piwigo 2.10 this link will automatically disappear once you are subscribed. And because we don’t want to bother you with this newsletter if you don’t want it, you can also simply ask to hide this link.
Please note that more detailed documentation is available about Technical changes in Piwigo 2.10. Please read it to make your extensions compatible with Piwigo 2.10.
MySQL 8 is starting to run on production environments and many users have reported some issues with Piwigo. Indeed, MySQL has added some "reserved keywords", such as groups
or rank
that are used in Piwigo database column or table names.
Many actions you perform in the administration are now stored in an activity
table in the database. For example if you add/edit/delete a photo/album/tag/user/group or if you login/logout, Piwigo will register who did the action and when. For now, Piwigo just logs this activity. Later we will be able to show it.
The PHP library Piwigo uses to send emails, PhpMailer, was updated to be compatible with PHP 7.2 and later.
We have added 2 new triggers when tags and groups are deleted:
trigger_notify("delete_tags", $tag_ids);
trigger_notify('delete_group', $groupids);
All themes were removed from the Piwigo core repository, even those included in the Piwigo installation zip archive. Each theme has now its own repository on Github. This way we have a specific bugtracker for each theme. Actually, this is exactly what we’ve done for years with plugins!
pwg.images.setMd5sum
sets the checksum of photos where it’s missing.pwg.categories.setRank
changes the sort order of an album among its siblings. You can also reorder the whole set of albums at once.pwg.users.favorites.add
adds a photo to user favorites.pwg.users.favorites.remove
removes a photo from user favorites.pwg.users.favorites.getList
returns the list of user favorite photos.pwg.session.login
now accepts empty password (just like web login form).We have simplified source code headers in all PHP files. Instead of writing a full copyright with years + a summary of GPLv2 license, we just tell readers to open the COPYING file.
Instead of this:
<?php
// +-----------------------------------------------------------------------+
// | Piwigo - a PHP based photo gallery |
// +-----------------------------------------------------------------------+
// | Copyright(C) 2008-2016 Piwigo Team https://piwigo.org |
// | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net |
// | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick |
// +-----------------------------------------------------------------------+
// | This program is free software; you can redistribute it and/or modify |
// | it under the terms of the GNU General Public License as published by |
// | the Free Software Foundation |
// | |
// | This program is distributed in the hope that it will be useful, but |
// | WITHOUT ANY WARRANTY; without even the implied warranty of |
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
// | General Public License for more details. |
// | |
// | You should have received a copy of the GNU General Public License |
// | along with this program; if not, write to the Free Software |
// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
// | USA. |
// +-----------------------------------------------------------------------+
we now have this simplified header:
<?php
// +-----------------------------------------------------------------------+
// | This file is part of Piwigo. |
// | |
// | For copyright and license information, please view the COPYING.txt |
// | file that was distributed with this source code. |
// +-----------------------------------------------------------------------+
The main goal was to remove years in these headers, because it required updating all Piwigo PHP files each year, for no specific coding change. The good side effect is that we now have a clean COPYING file with details on copyright with dates and trademark + a LICENSE file with the whole GPLv2 license.