For html filetype, copy image for 'image/figure' directives.