'A <draw:image> becomes an <img/> element'

def s_draw_image(self, tag, attrs):

    if self.frame_stack:
        if self.frame_stack[(-1)]:
            return
        self.frame_stack[(-1)].append('img')
    parent = self.tagstack.stackparent()
    anchor_type = parent.get((TEXTNS, 'anchor-type'))
    imghref = attrs[(XLINKNS, 'href')]
    imghref = self.rewritelink(imghref)
    htmlattrs = {'alt': '', 'src': imghref}
    if self.generate_css:
        if (anchor_type != 'char'):
            htmlattrs['style'] = 'display:    block;'
    self.emptytag('img', htmlattrs)
