Unable detect link or image path