handle public images with public file in generate-image directory