generate images in production time