Check for a valid image in HREF.