When exporting images with captions, ox-html currently creates a strucuture like this:

hlevel.png

Figure 1: "test"

(I've tried setting org-html-html5-fancy" to t, but for whatever reason this doesn't result in the useo f the
tag. I tried with emacs -q with no luck). I would like to be able to give an additional class to the enclosing
. Any idea how i might be able to do that? As far as I can see, org-html--wrap-image does not have access to the org link element and so can't query for attributes. I really appreciate any ideas! Thanks, Matt