fixed those damn error messages
check image dimensions before uploading and better image upload error handling