Hacking Piwigo

Piwigo Logo

Here is a semi-sequential account of events over the last couple of months (squeezed in when I have a spare moment) that have resulted in piwigo.mixedbredie.net.

Install PhpWebGallery in test (2009)
Install Piwigo in test (2010)
Go back to Gallery2
Install Gallery3 in test (2010)
Tire of lack of nice themes in Gallery3 even after some tweaking.
Go back to piwigo and update and move from test to live site
Add some themes.
Add some plugins.
Read the documentation and then head to the forums where there are threads for plugins and themes. Get used to french people writing technical stuff in English.
(note to self: learn French hahahhahahaa ha ha)

Making the changes:
Choose a theme that works and looks like you want it (mostly) to look.
Start mangling it. The Local-Files editor is your friend allowing you to make local changes to templates, CSS and configuration files that overrule the default options.
Realise I can make a child theme just using a theme.css and config-inc.php in a “my-theme” directory.
Change the background colour
Change the body text colour
Change the link colour
Change the link hover colour
Change colour of different elements in the page
Add a header image
Creating and using custom template files
Changing size of thumbnails > regenerate thumbnails plugin by p@t – Set this to 286 x 286

I had to hack some more CSS style rules together in order to get the look I was after.  I shamelessly copied this from www.fotolobia.com where the Turkish designer has done a far better job than I have.

digiKam splash
digiKam splash

Meanwhile, running in parallel to this there is the continuing development of digikam that seems to advance at a rate that most linux distros can’t keep up with.  The latest stable version of digikam is always at least one, maybe two or three, versions ahead of what is available in the repositories.  I use linux mint 10 with the K Desktop Environment (KDE 4.6.5) and my desktop tends to be used for managing photos with digiKam and editing photos with GIMP.

Trying to keep the desktop updated so that the latest digiKam will run has dissolved into an arms race between the linux mint maintainers, the digiKam developers and the end users of both communities. Some distros update the “stable” version of KDE quicker than others and others custom package digiKam.  An alternative is to compile it yourself.  This is a whole week of fun all by itself and when I am done I’ll put the procedure up here.  Some others have already done this and I am working from their scripts.