Adds more work on uploading images (partial)