Nota de lançamento / Piwigo 2.2.0

User upload with Community, New batch manager

2.2.0
Baixar o Piwigo 2.2.0

Lançado em 1 abril 2011

md5sum

Piwigo 2.2 brings improved user interface, new features and increased speed. User upload was rewritten and becomes much easier to configure. The Batch Manager was also rewritten from scratch. The ability to update themes and languages directly from piwigo.org was added. A strong effort was engaged to reduce page load, with less conversation between web browser and web server and in the end you get higher speed.

A few numbers: 80 features or bugs were closed and 750 commits were submitted to the codebase. Piwigo 2.2 is available in 37 languages out of the box (Vs 23 in Piwigo 2.1.0). More than 50 contributors including developers, translators, beta-testers have participated in the Piwigo 2.2 cycle.

User Features

New design for user upload

The historical user upload was removed from core.

Now it comes back in the Community plugin with the enhanced upload form you already have in the administration panel : automatic resize, thumbnail automatic creation, automatic rotation, several photos at once, progress bar... Define upload permissions for a group or a user, with the ability to create sub-albums or not, with validation from administrators or not.

1. the administrator creates upload permissions by answering following questions:

2. if at least one permission matches the current user, a link to "Upload photos" is added in the menu. This is the upload form, as full featured as it is in the administration panel: automatic resize, thumbnail creation, automatic rotation, several photos at once, progress bar...

If the user has a low level of trust for this album, photos are now pending for validation. Administrators are notified by email.

3. administrators open the pending photos screen and decide which photos to validate and which to reject. Admins can also edit photos and albums before validation.

Forget about "categories", forget about "elements", "images" and "pictures"

The word "category" is replaced by "album" which is a more commonly used word to specify a set of photos.

The words "element/image/picture" are replaced by "photo". Piwigo may be able to manage more than just photos (you can also manage videos, or any other kind of document), but Piwigo is designed to manage a gallery of photos, so let's simplify the vocabulary.

New Batch Manager

We wanted to make things simpler, this is why the Batch Manager gets a new design from scratch. The new Batch Manager works as follows : first you define a filter, then you select a few photos from the filtered set and in the end you apply an action.

1) Filter

There are some prefilters like "photos with no tag" or "duplicates". You can also filter on a specific album, including sub-albums or not. You can combine several filters to reduce the filtered set of photos.

2) Select

The filtered set appears as a list of thumbnails, with a checkbox for each photo, its "privacy level" and a tooltip with the title of the photo. You can select photos one by one by clicking on the thumbnail or use the shortcuts "all", "none", "invert". Piwigo tells you how many photos are currently selected among all photos of the filtered set and all selected photos appear with a light green background.

3) Apply an action

As soon as you have selected at least one photo, you can select an action in the list. There are several actions:

Each action has its own specific parameters and Piwigo only displays the parameters of the selected action, to keep the user interface as clear as possible.

37 languages and a new Language Switch

Compared to Piwigo 2.1, that's 14 new languages : Catalan, Íslenska (Icelandic), Québecois (Quebecois), Latviešu (Latvian), Norske (Norwegian), Slovenšcina (Slovenian), Slovensky (Slovak), Svenska (Swedish), Српски (Serbian), Українська (Ukrainian), עברית (Hebrew), فارسی (Farsi), ქართული (Georgian), 中文 (繁體) (Traditional Chinese).

The plugin Language Switch produces an extended display: in addition to flags, we display the language name.

New sorting options for albums

Administrator can automatically sort albums and sub-albums in a few clicks.

Remove or resize your high definitions

... in the upload form (requires ImageMagick on the server)

Simplify photo deletion

Ability to delete a single photo from its administration screen.

Just like any other photo, now you can delete photos added with synchronization with just a few clicks, no need to delete from FTP and synchronize.

Monday or Sunday?

In your calendar view, weeks may start on monday or sunday, you decide!

Automatic Rotation

Piwigo will automatically rotate your photos when you upload them. The rotation is based on EXIF Orientation tag.

Multisite

Basic multisite feature, ability to have several galleries with a single Piwigo installed. You need to create a local/config/multisite.inc.php file and write something like:

<?php
$conf['local_dir_site'] = 'local_site2/';
?>

No more Adviser Mode

The adviser mode was removed. It was complex to configure, potentially dangerous and had impact on many files. It was also not that useful.

Orphan Tags

Piwigo automatically detects orphan tags (ie tags linked to no photo) and propose to delete them with a single click.

Automatic update for themes and languages

Piwigo connects to piwigo.org extension directory and searches for new version of your installed themes and languages. Just like Piwigo does for plugins. Then you have the list of available updates and decide what to update with a single click.

By the way, the Piwigo Auto Upgrade plugin (which should be provided by default in Piwigo soon), has a nice new user interface and the possibility to update several extensions at once!

Technical Features

Please note that more detailed documentation is available about Technical changes in Piwigo 2.2. This is the summary.

ImageMagick

If available, automatically use ImageMagick instead of GD for photo resizing. Unlike GD, ImageMagick keeps the EXIF/IPTC metadata in the resized photo. This is why we have added an option to remove or resize the high definition if you have ImageMagick on your web server.

Combine CSS files, combine Javascript files, CSS sprites for icons

Each theme and plugin may load one or more CSS/Javascript files. With the new combine_css feature, your visitors will only download a single CSS file. With the new combine_script feature, they will download a single Javascript file (when possible, sometimes it's not).

As we really want to reduce the number of HTTP requests, instead of one file for each icon, your web browser will download a single file for all icons.

Less conversation between web browser and web server means pages that load faster.

Miscellaneous