I've got an interesting problem. See any page on my site, e.g. http://www.vacilando.eu/bg -- there is a row of tiny images at the top rim. For screensize-detection reasons I have to use Ajax to load that row. So there is a div which sends info about user window size and only the right number of images is delivered.
The problem is that although each of them has a Lightbox2-enabled link (actually a lightshow but what I write applies to lightbox rel as well) -- well, if you click any of those images you will only get to view that jpeg, but not in Lightbox2.
For your convenience (it's not easy to get to the source of the Ajax div), here's how an image with the link looks like:
<a href="http://www.vacilando.eu/sites/vacilando.eu/files/albums/2008/20080510-18_iceland/DSC03059.JPG" rel="lightshow[x1462067]" title="DSC03059"><img style="border: 0; margin:0px; padding:0px;" alt="" src="http://www.vacilando.eu/sites/all/modules/brilliant_gallery/image.php?imgp=L3Zhci93d3cvdmhvc3RzL3ZhY2lsYW5kby5ldS9odHRwZG9jcy9zaXRlcy92YWNpbGFuZG8uZXUvZmlsZXMvYWxidW1zLzIwMDgvMjAwODA1MTAtMThfaWNlbGFuZC9EU0MwMzA1OS5KUEc=&imgw=13&imgh=10" /></a>
Now, for a test, I've put this very image in the header (see it above the letter 'V' if I haven't taken it off yet!) directly into the template (thus not loaded by Ajax) -- and then Lightbox2 works!
So the problem clearly occurs only in the Ajax-loaded content.
Thanks for any thoughts on this!