I had the same problem. Check to see if you have php-gd installed.
When I installed this and restarted apache it all worked.
Refer to the notes at the bottom of this help page for instructions on how to install php-gd using yum on linux.
Moodle community sites
Moodle documentation: Moodle Tutorial for comment
This discussion has been locked because a year has elapsed since the last post. Please start a new discussion topic.