Psuedo element test on <img>