PyroCode
Member
Posted 1 year ago #
Anyone know how to override the WP 3.0 background function? I went to test out a 1 x 900 pixel image that is a gradient to tile horizontally only, but even though it works, I get a several errors showing in the admin when I upload the image. The idea is to limit the background image size for page load time. Basically I get Warning: imagecreatetruecolor() [function.imagecreatetruecolor]: Invalid image dimensions
Thanks in advance.
jeremyers1
Member
Posted 6 months ago #
I have having the problem too. Did you figure it out, or does anyone know what is causing this?
My error is this:
Warning: imagecreatetruecolor(): Invalid image dimensions in [..]wp-includes/media.php on line 1006 Warning: imagecopyresampled() expects parameter 1 to be resource, boolean given in [..]/wp-includes/media.php on line 424 Warning: imagegif() expects parameter 1 to be resource, boolean given in [..]/wp-includes/media.php on line 447