Implement callback on image tap.