Added permit image upload.