2024-04-28

Gallery Update

I’ve finally upgraded my gallery site to “Gallery 2” (I wish they had a better name… Gallery is so generic). I’ve used the Carbon theme which is fairly ubuiqitous among Gallery users, but it is certain a very clean, modern looking theme that makes it easy to view photos. I’ve also upgraded the link between my Movable Type blogs and Gallery by rewriting MTGalleryLink to support version 2. It’s been seriously hacked, and much of the functionality is gone. Oh well, at least the links are working.

One nice feature that I was able to exploit was the random image link in G2’s “Image Block”. So there should be a different image in the spot on the left. The draw back with this mode is that the link is only made after a site “rebuild” so it’ll be the same image until I change it.

Update: In WordPress, inserting Gallery is much more robust. The link above was generated with the WordPress plugin WPG2 and PHP Execution.

The code inserted looks like:

<?php print g2_sidebargridblock('randomImage', 1, 150, ''); ?>

About Post Author