you probably have the upload set to resize images which can take quite a bit of memory on the server, sometimes more than the php.ini memory limit will allow.
add the following code at line to increase the memory limit:
<?php
ini_set("memory_limit", "256M")
?>