Gallery As Good As New

The upgrade from Gallery 1.x to 2.x was quite involved. As has happened before (and to my great chagrin), albums and photos whose titles, summaries and descriptions contained foreign letters like ‘ð’, ‘þ’ and ‘œ’, as well as accented letters like ‘é’ and ‘ö’ suffered GBH in the transition.

Fixing this meant writing a pile of Ruby DBI code and testing it very well before letting it lose on the MySQL database in which everything is now stored by Gallery 2.x. The end result, happily, is that things should now be more or less back to normal.

There may still be a few sporadic instances of spurious characters appearing, which seems to have been caused by some titles, summaries and descriptions accidentally undergoing double-encoding to UTF-8, so that the previously encoded multibyte UTF-8 form of a few foreign and accented characters was re-encoded, producing strings of gibberish. If you find any of these, please let me know which photos are affected and I’ll correct them by hand.

You’ll find all of our photos in our gallery. If some albums seem slow, that’s because thumbnail generation is delayed until the first viewer enters that album. Once an album has been viewed by someone, the thumbnails are stored for future use, so subsequent page renderings will be much quicker.

This entry was posted in System Administration. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *