Set image name and source in image generator