# File lib/asciidoctor/converter/docbook5.rb, line 551 def inline_image node width_attribute = (node.attr? 'width') ? %( contentwidth="#{node.attr 'width'}") : nil depth_attribute = (node.attr? 'height') ? %( contentdepth="#{node.attr 'height'}") : nil %(<inlinemediaobject> <imageobject> <imagedata fileref="#{node.type == 'icon' ? (node.icon_uri node.target) : (node.image_uri node.target)}"#{width_attribute}#{depth_attribute}/> </imageobject> <textobject><phrase>#{node.attr 'alt'}</phrase></textobject> </inlinemediaobject>) end