in HTML export, the following org text:

#+ATTR_HTML: :class paired
[[file:~/DH/Images/louvre-jean-baptiste-greuze-la-lecture-de-la-bible.jpg]]

exports for me as:

-----
<figure>
<img src="file:///home/matt/DH/Images/louvre-jean-baptiste-greuze-la-lecture-de-la-bible.jpg" alt="louvre-jean-baptiste-greuze-la-lecture-de-la-bible.jpg" class="paired">

</figure>
------

Is there a way to get the ~class="paired"~ attached to the *figure* rather than the *img* tag?  Thank you!