'Given a full filesystem path to an image, return the proper media
url for it'

def image_url(self, path):

    new_url = path.replace(settings.MEDIA_ROOT, settings.MEDIA_URL)
    return new_url.replace('//', '/')
