Pierrick on Piwigo

Piwigo is the open source photo gallery for the web

Archive for October 2010

A dynamic Piwigo homepage with PWG Stuffs

PWG Stuffs is one of the most badly named plugin for Piwigo! But don’t stop reading, because PWG Stuffs is also one of the most interesting plugin for Piwigo! The name of the plugin doesn’t mean anything, read this description to understand what it’s all about.

PWG Stuffs = manage blocks on your page

On a standard Piwigo with a standard theme, you have the menubar on the left (250px) and the main block on the right. The main block contains the thumbnails for the current album or tag. PWG Stuffs adds other blocks, such as latest comments, a welcome text, random pictures, a tag cloud, featured photos and others. Even better, you can organize your blocks: block 1 and block 2 on the first line and block 3 on another line. PWG Stuffs is one of the first plugin P@t created. P@t currently works on 23 plugins. His plugins count many followers, including me.

We have released PWG Stuffs version 2.1.f today. The new feature is the ability to hide the main block on the home page. In my opinion this is an important new feature, because it means that you can design your homepage the way you want, with some static blocks filled with HTML and blocks with dynamic content.

PWG Stuff page in the extension repository

Advertisements

Written by plg

October 26, 2010 at 11:41 pm

Posted in Miscellaneous

Using WordPress/Drupal/Joomla for your photo gallery?

Yesterday as any usual day we received a support request on the Piwigo forum. This user has been trying to create his photo gallery with Drupal and obviously, it was not as easy as expected:

After spending months fighting with various Drupal gallery modules, I finally gave up and after some research ended up with Piwigo. So far, I am very impressed. I must say that I’ve been able to get a LOT more done in 4 hours with Piwigo than I could in 6 months with Drupal’s gallery and image modules! Way to go!

Don’t understand my post wrong, I really appreciate Drupal or Joomla for creating an average to very large website or WordPress to create a small website or a feature rich blog. Drupal, Joomla and WordPress are great softwares with impressive feature sets and active communities.

My opinion is that if your website is mainly a photo gallery, the best option is to choose a photo gallery software and among the best photo gallery software you’ll find Piwigo, but not only: ZenPhoto and Menalto Gallery are also in the place. Piwigo is designed to manage photo galleries, only other photo gallery softwares can be seriously compared to Piwigo when it comes to managing (large) photo sets.

Gallery modules integrated into WordPress/Drupal/Joomla are nice and certainly good enough for the vast majority of WordPress/Drupal/Joomla users and I don’t say this option is a bad choice. It all depends on the main use of your website. I have seen many great photo galleries designed with a WordPress core + photo oriented theme and the result is top quality most of the time.

You know what’s good with Opensource Softwares? The user can give a try and decide by himself!

Written by plg

October 20, 2010 at 2:53 pm

Posted in Miscellaneous

Tagged with , ,

Piwigo.com in italian, german and spanish

In addition to english, french and chinese, Piwigo.com is now available in italian, german and spanish. I’m talking about the presentation and signup website, not about Piwigo itself, which is already available in 30 languages.

Benvenuti a Piwigo.com

Willkommen auf Piwigo.com

Bienvenido sur Piwigo.com

Nice job from translators!

Written by plg

October 16, 2010 at 10:44 pm

Posted in piwigo.com

Exporting a latin1 encoded MySQL database from PhpMyAdmin

Tonight, I helped a veteran Piwigo user to migrate to piwigo.com hosting. The main problem I encountered was PhpMyAdmin.

In his MySQL database, strings were using latin1 character set, he was still using PhpWebGallery 1.7. Unfortunately, there was no access to any mysql command line, so I had to deal with PhpMyAdmin :-/ and whatever option I could check or uncheck in the export tool, I had an utf8 encoded database dump. I import it the following way:

mysql --user=*** --password=*** pwg213 < dump.sql

Imported as is, the dump generated a messy result in the browser. So instead of just importing the dump from the command line, I used the mysql shell and set the client character set first:

mysql --user=*** --password=*** pwg213
mysql> set names utf8;
mysql> source dump.sql

Then all was fine, the upgrade from PhpWebGallery 1.7 to Piwigo 2.1 was as easy as usual with only 664 photos.

Written by plg

October 7, 2010 at 11:37 pm

Posted in Miscellaneous

Hierarchical Tags

Based on a reply to this Piwigo forums post, I wrote a blog post, because it may be interesting for more readers.

The “what about managing tags in a hierarchy” question comes back from time to time since 2006 when tags were implemented in Piwigo version 1.6.0. My opinion is that Piwigo already has a very powerful system to manage hierarchies: categories (or albums, which is the new name for categories in the upcoming version 2.2).

The photo organizers listed by bhlevca, ie Lightroom and Digikam, are designed for advanced or professional users and not for sharing purpose. If you take a look at web applications in general, designed for everyday users, you will hardly find hierarchical tags. Yes you will find section/sub-section/sub-sub-section and tag1+tag2+tag3 but not tags places/USA/California/SanFrancisco + animals/mammals/dog.

What makes Piwigo specific and able to use categories to manage hierarchical tags: the ability to associate a photo to several categories while most web applications can only associate an item to a single category and to multiple tags.

OK, so Piwigo doesn’t have hierarchical tags! Fine. What should I do with my hierarchical tags defined in my desktop photo collection managed by Lightroom/Digikam?

Let’s consider you have a photo with the following tags:
* places/USA/California/SanFrancisco
* animals/mammals/dog

I don’t know how these hierarchical tags are stored in IPTC/XMP metadata, but that’s not really the problem. I propose several options:

a) only keep the last level of tag: tags SanFrancisco + dog
b) use each tag level as a tag: tags places + USA + California + SanFrancisco + animals + mammals + dog
c) transform the tag hierarchy into a single tag: tags places:USA:California:SanFrancisco + animals:mammals:dog
d) generate the category hierarchy

I personally really like browsing my photo gallery with tags, so I would consider option b as the most interesting. This way I could see all photos tagged SanFrancisco + animals in just 3 clicks and the photo of this dog in SanFrancisco streets would be in the result set.

Dear reader, please keep in mind that this is an extract from a forum discussion about “how to improve tag management in Piwigo”, none of this options are available in current Piwigo 2.1.

Written by plg

October 2, 2010 at 11:06 pm

Posted in Miscellaneous

%d bloggers like this: