Update linkget to judge if link is image or not