Image link repair