Replaces text links with image links