# File lib/kramdown/converter/latex.rb, line 228
      def convert_img(el, opts)
        if el.attr['src'] =~ /^(https?|ftps?):\/\//
          warning("Cannot include non-local image")
          ''
        elsif !el.attr['src'].empty?
          @data[:packages] << 'graphicx'
          "#{latex_link_target(el)}\\includegraphics{#{el.attr['src']}}"
        else
          warning("Cannot include image with empty path")
          ''
        end
      end