Old version works, the newest makes some problems

Page: 1

Author Post
Member
Registered: Jan 2009
Posts: 29
Hi!

I have been using a quite old version of the floatbox and now I updated to the newest one.

But now I have a little problem:
When I want to open a picture in the floatbox the same way I did with the old one, then not only the picture apperas and the frame boarder does not become the sice of the the picture, but this happens:

http://www.rdmag.de/photo/wacken-2008/

(please click on a thumnail)

I would be very glad if you could tell me what I did wron or what is working in a different way in the new version.

Thanks a lot!

Best!

martin
Administrator
Registered: Aug 2008
Posts: 3382
Your images are loading as iframes. This is because the images are being served from php calls, and the php extension defaults floatbox to iframe mode. You need to tell floatbox these are images. I see you have already tried to do this with rel="lightbox.[Wacken 2008] type:img". The "type:img" is the correct option to use, but it's in the wrong place. It belongs in the rev attribute, not the rel attribute. You want to say rel="lightbox.[Wacken 2008]" rev="type:img".
Member
Registered: Jan 2009
Posts: 29
Oh thank you so much!
Sometimes not only my hair is blond...
It works perfectly and is really amazing!

Thanks again!

martin

Page: 1