URL/image relinking done right