I installed both BK-Thumb plugin and Ninjashadowbox module on my Joomla 1.5.15 website.
I want to use BK-thumb to generate thumbnail automatically and to use Ninjashadowbox for shadowbox effect on some links.
Today I found something strange:
I inserted an external image in the article, without ANY link for the image.
Because that image is bigger than the thumbnail size I had set in Bk-thumb parameters, so Bk-thumb generated thumb image for it. Then, when I click on that thumb image, the full-size image will be open with Slimbox (selected in BK-thumb parameters) overlay effect. Then, I click the Close cross, but there still one layer remain. I have to click another Close cross to return to the page.
I am sure the two layers are different, one from Bk-thumb, one from Shadowbox.
I just wonder: why shadowbox took effect in such a situation? I did NOT set rel="shadowbox" for anything when writing that article.
I think, shadowbox should ONLY be triggered when there is rel="shadowbox" in a Hyperlink A tag. If no such an attribute, then shadowbox should stay quiet.
Maybe this is a bug? Hope you can solve this.
Ok, when I check the source code of that page, I noticed that the Bk-thumb had set rel="lightbox" to that link to the full-size image. And this is the reason why Shadowbox was triggered.
Now, I think you can add a new feature to avoid this dual-layer problem: add "shadowbox trigger: rel=shadowbox only / rel=lightbox only / both ".