printing out card image