BreakThink Tank

A vanity site about the author's interests: Second Life™, comics, games, photos and...stuff.

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:

  1. Allow per-image descriptive text to be pulled per-line from a text file in the target directory
  2. Random images, either as a single-row table or singly (great for excerpts)
  3. 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.

Comment

Note: You are required to preview your comment before submission for moderator approval.

Textile Help

Last: | Next: