bluelake publications

digital | content | creation

Old & new | Fancybox 2

Before my Bluelake website renovation, I updated the server software from PHP 7.4 to PHP 8.4, the current version. I also updated the application that built the website from Textpattern 4.8.7 to 4.9.1, the current version. My tramping website worked on desktop computers, but it’s really just basic HTML with a few tricks.

Except…

I used a pop-up slideshow gallery called Fancybox 2 for a few photo galleries. It stopped working on both that website and my bigger tramping one, which has pop-up slideshows on each of 44 track pages, plus another four for Te Araroa.

Fancybox 2 was from 2012, now 14 years ago. No wonder it didn’t work.

Qwen 3.7 is the AI I have found to be useful. I tried a few. Claude seemed obvious, but I quickly burned through my token allocation for the day. Maybe I needed to test that one more rigorously.

Anyway, I asked Qwen why Fancybox was failing. It suggested I update to Fancybox 5, which is more industry-standard-compliant these days and likely to be maintained for the next 10 years for a host of reasons. It now offers a full mobile experience and is the industry standard for large websites.

An alternative is an open-source app, GLightbox, which doesn’t have the full range of capabilities, but is more than sufficient for my needs. It’s easy to install and, because it’s so common, is likely to be maintained for a long while.

I went with that, since it is free and will always remain that way as open source. Fancybox 5 now needs a $99 licence for commercial use, and although I’m unlikely to ever make money, it could always change in the future.

It was quick to install while still keeping the old one going. Maybe too quick.

Except Qwen told me that PHP 8.4 is more rigorous with its parsing, and the code that worked in the footer for Fancybox now needed to be in the HTML header for GLightbox, ie, moved from the bottom of the code page to the top.

Suddenly, the basic slideshow was working. No urgency required, but I still needed the mobile phone capabilities.

The captions were a separate story. I spent the next couple of weeks getting all of them to work on the 48 different slideshows on my tramping.net.nz website.

author | GJ Coop | posted | 14 August 2026
← The coldest, uninsulated hut in the Nelson/Tasman region?