I got it all working but found a little issue.
When someone attaches pics the lightbox works fine and the anchor gets the rel"lightbox" like it should.
However when someone uses the attachment manager in the vb editor toolbar to place the attachments in his post and surround it by text or whatever, then all of a sudden it doesn't work anymore.
Checking the code results in it getting rel="lightbox[attachment]" like in the postbit_attachmentthumbnail edit for the normal version. I checked it and the code I entered is the other one (rel="lightbox") anyone know where the other one comes from? If I can find it i can remove [attachment] to make it work in all instances.
|