replacing hrefs for image relocation in procedures