BTW, I wonder if org-html-standalone-image-p does actually what is documented. It is documented
as returning non-nil in one of two cases: element is of type paragraph or of type link.
But its code starts with:

 (and (eq (org-element-type paragraph) 'paragraph)
        ...)

which seems to prevent the second case. That is certainly unrelated to my problem.


Sorry. I misread the code. Forget about this false interpretation.

Fabrice