WordPress.org

Forums

Upload image (5 posts)

  1. danryan
    Member
    Posted 10 years ago #

    Hi all,

    When I uploaded a image, I got this message:
    Warning: imagecreatetruecolor(): requires GD 2.0 or later in /web/xxx.org/wordpress/wp-admin/admin-functions.php on line 165

    Warning: imagejpeg(): supplied argument is not a valid Image resource in /web/xxx.org/wordpress/wp-admin/admin-functions.php on line 178
    Thumbnail path invalid

    But the image upload successfully. What's the problem?

  2. Mark (podz)
    Support Maven
    Posted 10 years ago #

    You don't have 'GD' on your server - it's an image manipulation thing.
    Contact your host ?

    For what did you need this ? It's not just for a simple upload as that does not involve GD does it ?

  3. danryan
    Member
    Posted 10 years ago #

    I don't know what is GD. I just upload a image from WordPress and see this message. Should I forget this message?

  4. neuro
    Member
    Posted 10 years ago #

    GD is needed as soon as you want to manipulate picture, ie resize them to make thumbs. If you don have it, the picture will be uploaded but the thumb won't be created.
    You should ask your sysadmin to install gd and imagemagick as you will need them for many things.

  5. danryan
    Member
    Posted 10 years ago #

    ic, thank you very much for your help

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.