Hi...
1) Kudos for the great job.
2) Installed shadowbox in dru 6.2 on localhost following your instructions in Install.txt. It works, but I had to rename the shadowbox folder I downloaded from the link you provided (http://mjijackson.com/shadowbox/download.php?code). I renamed it "shadowbox", not "shadowbox-1.0" as the original download. Maybe you should point that out in the instructions to help noobs like me.
2) Testing on localhost with Safari 3 I can't see any png with transparency inside the shadowbox (I just get a black modal window). Don't know if it's a shadowbox, browser, or module problem.
4) Thanks again for your module.
Ciao

Comments

nofuseto’s picture

Sorry, change my 3) point in last comment (png problem signed as the second number 2)...).
PNGs with transparency are show with a black background instead of white (I had a black image with transparency so the shadowbox just showed a black box).

psynaptic’s picture

Hi cippo,

Thanks for pointing out the flaw in the INSTALL.txt. I have commited your fix.

As for the transparent PNG, I am using Safari 3.1 (5525.13) and I can see PNG images with alpha transparency perfectly well. The background (where the transparent bit is) comes through as black.

You might want to check:

1. Permissions on the file (try chmod 777 file)
2. Weird characters or spaces in the filename (can sometimes cause problems)
3. Try different PNG images to see if your original one is corrupt in some way.

Other than that I can't think of anything.

psynaptic’s picture

Status: Active » Postponed (maintainer needs more info)
psynaptic’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)
Tony Sharpe’s picture

I am having what appears to be the same problem. I've set the overlay colour to white at 85%. This works in that the area outside the rectangle the image sits in is white at 85%. But the transparent area of the image is solid black. This applies to both png24 and gif images, on both FF3 and IE7. Setup is local installation in XAMPP on Windows. Using latest 6.x-2.x dev with shadowbox 2

sprite64’s picture

Sorry to dig up a year-old topic, but, like Tony & nofuseto, I wanted to change the black background behind PNG's to a different color. To do this, you need to override shadowbox's default css. Depending on your setup, adding one (or all) of the following three line to your theme's css file should do the trick:

#sb-body-inner { background-color: white; }
#shadowbox_body_inner { background-color: white; }
#sb-content { background-color: white; }

As If’s picture

I got the background to change using this CSS:
#sb-wrapper-inner, #sb-body, #sb-body-inner { background-color: #fff; }

But neither of these approaches (#6 or #7) changes the color of the black bg seen while "Loading" is taking place. Is there any way to theme that "Loading" element, to make it a different color?