generate images for slides