Image uploading now works perfectly