November 09, 2003
Integrating Gallery Into Movable Type
The Wiki at Dlugosz.net has the quite informative article on Integrating Gallery into Movable Type. Well worth the read.
Gallery is a very nice PHP-based online photo album. It runs well on its own & also easily integrates into a few weblog frameworks. Unfortunately, it doesn't appear that anyone has documented how to easily integrate it into MovableType, which is what I'm using here on my site. Click on the link below to read my quick and dirty tutorial on how to integrate Gallery into MovableType.The first key the integrating Gallery is to understand (at least rudimentally) how it builds it's individual screens. The main place you'll want to look is the gallery/html_wrap directory. In this directory, you'll find a bunch of files called blah.header.default and blah.footer.default. When displaying each type of page: Main index, Album view, Photo view, Search view, or Slideshow view, Gallery looks in the html_wrap directory and will look for the files it needs to format it's content. If you make copies of the *.default files and put them in this directory (named blah.header instead of blah.header.default), Gallery will use your custom files when wrapping the content.
Note that this tutorial is going to assume that you already have Gallery and MovableType installed and working properly on their own. There are plenty of web resources available for general installation questions.
The Rest of the Article @ Dlugosz.net
Posted by akvalley at November 9, 2003 08:15 AM | TrackBack