Don't generate same image more than once