WordPress.org

Ready to get started?Download WordPress

Forums

Background - Invalid image dimension (2 posts)

  1. PyroCode
    Member
    Posted 3 years 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.

  2. jeremyers1
    Member
    Posted 2 years 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

Topic Closed

This topic has been closed to new replies.

About this Topic