def get_download_url(preview=False, request=None, hires=False, thumbnail=False
    ):
    """Return an URL to download the corresponding image. If ``hires``
        is True, the URL to the original version will be returned and
        if ``thumbnail`` is True the URL to the thumbnail will be returned
        instead.
        """
