Support » Fixing WordPress » Background – Invalid image dimension

  • 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.

Viewing 1 replies (of 1 total)
  • 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

Viewing 1 replies (of 1 total)
  • The topic ‘Background – Invalid image dimension’ is closed to new replies.