March 3rd, 2009 Posted in Computer, Web Design
Textpattern Gallery with Slimbox
A recent Texpattern site needed a gallery where the thumbnails could be clicked and shown using the popular Lightbox effect. I used Textpattern 4.08 and the plugins rss_thumbpop and glx_admin_image.
Rss_thumbpop is used to display the thumbnails of all the images in a certain category on a Textpattern page and works well – but does not use the Lightbox effect. I hacked that using thespokenwheel.com: My Lightbox Hack For rss_thumbpop – just don’t insert the line numbers from the example in the code like I did 🙂
The hack adds rel=”ligthbox” to the image links, and by adding the links to jQuery, the Lightbox you are using (I used Slimbox) and the CSS files in your document header, it all gets sorted out. Easy!