I would suggest you check your php settings. You can try in uploadphoto.php to add this and see if it helps in bold.
Code:
Content visible to verified customers only.
If that does not help then contact your host as I would think in your apache config they have the LimitBodyRequest variable set to not allow uploads larger than 500KB