added generate image button