Make showImage handle multiple consecutive calls