Floatbox not resizing

Page: 1

Author Post
MarcoR
Guest
Hello,

I have a weird problem that I cannot solve. The picture is
loaded in the left upper corner of the floatbox (full size)
and the floatbox is not getting resized to the size of the picture.
Could the problem be caused by the stylesheet of the website
or am I overlooking a config option. I''ve checked my config with
configs of other sites and they look pretty much the same.
The problem also occurs when I use the default files/options, I
am using version 3.50.

Example: http://www.xs4all.nl/~repa/tmpcms/floatbox1.jpg

Thanks,
Marco
Administrator
Registered: Aug 2008
Posts: 3382
Hi Marco,
If I could see the live page where the problem occurs instead of just a screen capture, I would be able to tell you the source of the problem with certainty.

My guess is that the href on the anchor has an extension type that is not recognized as belonging to an image. Most often, this is an href that points to a .php page that returns an image. Something like <a href="imageGenerator.php?img=xyz... If this is the case, the solution is to tell floatbox that it's an image coming in by adding type:img to the anchor's rev tag.
MarcoR
Guest
Hi Byron,

You are right, its a cms that is serving. I added type:img to the
rev tag and it works like a charm !

Thanks for helping out,
Marco

ps: Nice software!

Page: 1