parsing image inside a link