Replace parent link when needed

If the remote image is wrapped into a link pointing to the same remote
file, replace that link.