Title: imagecreatetruecolor() error
Last modified: August 18, 2016

---

# imagecreatetruecolor() error

 *  [kensav](https://wordpress.org/support/users/kensav/)
 * (@kensav)
 * [21 years, 6 months ago](https://wordpress.org/support/topic/imagecreatetruecolor-error/)
 * While trying to upload and create a thumbnail I got this error:
    Fatal error:
   Call to undefined function: imagecreatetruecolor() in /usr/local/www/vhosts/fakewebsitenamehere.
   com/htdocs/wp-admin/admin-functions.php on line 165 Any ideas?

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [johnjosephbachir](https://wordpress.org/support/users/johnjosephbachir/)
 * (@johnjosephbachir)
 * [20 years, 11 months ago](https://wordpress.org/support/topic/imagecreatetruecolor-error/#post-114081)
 * This is because your php was compiled with GD 1. imagecreatetruecolor() is only
   in GD 2.
 *  [kensavage](https://wordpress.org/support/users/kensavage/)
 * (@kensavage)
 * [20 years, 5 months ago](https://wordpress.org/support/topic/imagecreatetruecolor-error/#post-114082)
 * So I need to upgrade my GD?
 * Any way around this in WP2?

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘imagecreatetruecolor() error’ is closed to new replies.

## Tags

 * [gd](https://wordpress.org/support/topic-tag/gd/)

 * 2 replies
 * 3 participants
 * Last reply from: [kensavage](https://wordpress.org/support/users/kensavage/)
 * Last activity: [20 years, 5 months ago](https://wordpress.org/support/topic/imagecreatetruecolor-error/#post-114082)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
