Josh (the blog)

I’ve delivered simple, clear and easy-to-use services for 20 years, for startups, scaleups and government. I write about the nerdy bits here.


@joahua

New Section: Photography

The more attentive amongst my regular readers (who aren’t using this website solely by means of RSS) will probably have noticed a new link in my primary navigation list, at the top right of your screen.

If you’re not a regular reader, the title of this post should have given away just which link it is. If you’re still lost, just click “Photography“.

The only album in there at present contains some of the photos which I’d promised to release a few weeks back, but hadn’t due to a variety of reasons. Some of the scans aren’t great, but that’s more because the scanner/photos were dirty, and I couldn’t be bothered using negs. If you wish to purchase higher resolution versions, then get in touch, and we’ll work something out.

As for the technical side of things, the gallery is powered by a PHP application known as PhotoStack, which I’ve found to be most excellent, aside from a few irritating form elements in the admin control. That said, I bothered to spend ten-twenty minutes looking over the code and adding <label> tags to every checkbox control, and many other things as well.

The system itself is excellent, using flat files for everything, and generating static pages all over the place. I haven’t checked out page gen times yet, but I think Michael would be proud — that said, I’m still using his bandwidth like there’s no tomorrow… sorry about that.

I’ve emailed Noel, who is the lead (and currently only?) developer behind the project about it, about the patches, and he’s advised that there is an SVN system in place, but it’s yet to be setup. I didn’t do anything major, but it’d be nice for others to be able to enjoy good form controls… so we’ll see.

In the meantime, anyone who wants my label-ised version of the code is most welcome to it.

To use, simply replace your photostack.php file inside the photostack root directory with one of the above versions. Note that if you’re viewing the syntax highlighted version, you MUST copy and paste content, instead of saving the document, as there are HTML formatting tags throughout it. The best solution is to download the plain text version, and save it as photostack.php.

In accordance with the license of PhotoStack itself, these changes are released under the terms of the GPL. To find out more, visit GNU’s GPL page.

Enjoy!