3
Also don't forget to set the permissions correctly.
I had a similar issue, although my categories are set to upload as BLOBs instead of as files.
It would say it posted but it would not actually post the image. I set the Admin permissions of the category to all and this fixed the issue.