working image uploads to local machine