validate link in image slit (check if external or internal link)