First of all I would turn safe mode off.

Does the various images directories have at least read and write permissions enabled?

You might also like to set up a copy of your php.ini file in case this shows something up.

Code
 <?php phpinfo(); ?>