save images to public/tmp/