Christian Heilmann

badgr – dynamic photo badges with PHP and XHR (AJAX)

Thursday, May 4th, 2006 at 6:45 pm

As part of my last but one chapter of the book (Yay!) I came up with the idea of a dynamic image badge – much like flickr’s badge but one that loads thumbnails from a folder instead of using the flickr REST API.

I christened the solution badgr and would welcome feedback:

What it does is turn a link like:


into a thumbnail gallery that displays the large photos lightbox style (but without the greying out of the whole page).

Share on Mastodon (needs instance)

Share on Twitter

My other work: