First off, I had a problem uploading an image bigger than 21k.
I changed $file_size to
static $file_size_restrictions = array("jpg" => array("MaxSize"=>100000, "WarnSize=>50000"));
That took care of the upload problem.
Now, I can't edit it. It opens a window and says "ERROR:There has been an error"