change image directory to "/public/images"