'Adds syntax for inserting images.'

def _hook_image_tag(self, parser, space, name):

    (title, params) = build_hook_params(name, self.locale, IMAGE_PARAMS, IMAGE_PARAM_VALUES)
    message = (_lazy(u'The    image    "%s"    does    not    exist.') % title)
    image = get_object_fallback(Image, title, self.locale, message)
    if isinstance(image, basestring):
        return image
    return render_to_string(self.image_template, {'image': image, 'params': params, 'STATIC_URL': settings.STATIC_URL})
