show image if on is true