Endpoint: /photo/<id>replace.json

        Import a photo from the specified URL to replace an existing
        photo.

def replace_from_url(self, photo, url, **kwds):
        """
        Endpoint: /photo/<id>replace.json

        Import a photo from the specified URL to replace an existing
        photo.
        """
        result = self._client.post("/photo/%s/replace.json" %
                                   self._extract_id(photo),
                                   photo=url,
                                   **kwds)["result"]
        return Photo(self._client, result)