generated images should go to tmp instead of public