Fix image and link URIs