New galleries looming (revised)
I’ve been deleting a whole boatload of useless crap from my site — dead wikis, that broken Gallery installation, that sort of thing.
Pretty soon there’ll be a new gallery up and trucking along, more tightly incorporated into Textpattern. As well as offering nondescript galleries, it should also allow for “photostories” as well.
I’m using a modified script from iain7 which incorporates Slimbook for presentation of pictures. Basically, it pulls images and thumbnails from a subdirectory of your /images directory to create a link or series of links.
What I’ve done is to recode the an7_imgdir tag to format images into a table instead of a long rambling line; this wasn’t too hard and worked first time, thankfully.
On the to-do list, which may involve digging into the JavaScript:
- Allow per-image descriptive text to be pulled per-line from a text file in the target directory
- Random images, either as a single-row table or singly (great for excerpts)
- Offer access to images and image IDs stored in TxP itself (this is ambitious, however)
I still have some kinks to iron out though before I finally exterminate that broken Plogger installation and get ‘em live and kicking. Despite this I could probably migrate the other existing galleries into position now, and creating a gallery page is as simple as writing a new article.
Posted in About (News,) by R Cruickshank 30/07/08 01:10 AM Tags: about this site, scripting, textpattern
Comment
Last: My first comment spam! I'm so proud. | Next: The finest greenyellow