Jump to content

thickbox - how to change background color please?


Recommended Posts

Hello

I have searched these forums without success - i am trying to change the default background colour in thickbox from white to black and tried the following coding in file:

images.inc.php in the root directory:

$black = imagecolorallocate($newImage, 0, 0, 0);

imagefill($newImage, 0, 0, $black);

imagecopyresampled($newImage, $imageGd, 0, 0, 0, 0, $ratioX, $size, $x, $y);

imagecolortransparent($newImage, $red);

Nothing has changed - not even any RED. I did manage to change the 'border' around the white background so I am not hopeless.

How can I change the white to black - please !!

Thank you for any assistance you may be able to provide.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...