'Turn a url of an image in storage into one that will produce a
resized image.
`image` must be a dictionary with keys:
url: the storage url given by the media provider after uploading
width: in pixels
height: in pixels
`width` is optionally a number of pixels wide for the resultant image;
if not specified, the dimensions will be the same as the source image.
`censor_nsfw` is a boolean indicating whether the resizer should
attempt to censor the image (e.g. by blurring it) due to it being NSFW.
`max_ratio` is the maximum value of the height of the resultant image
divided by the width; if not specified, the aspect ratio will be the
same as the source image.
The return value should be an absolute URL with the `https` scheme if
supported, but should also work if accessed with `http`.
Throws NotLargeEnough if the source image is smaller than the requested
width.'

def resize_image(self, image, width=None, censor_nsfw=False, max_ratio=None):

    raise NotImplementedError
