Aidan Gauland writes:
> #+HTML:
>
> If there is no way to do this, should I file a feature request?
I think you're looking for this:
#+ATTR_HTML: alt="My image description"
[[file:~/image.jpg][My Image]]
HTH,
--
Bastien
___
Emacs-orgmode mai
Christian Moe writes:
>> Is it possible to set the alt attribute of an image for HTML export?
>
> Yes, like so:
>
> : #+attr_html: alt="Picture of a foo"
> : [[./foo.png]]
>
> See the manual section on exporting to HTML.
I added a FAQ about this in org-faq.org.
Thanks,
--
Bastien
__
On Tue, 14 Sep 2010 19:01:12 +1200, Aidan Gauland
wrote:
>
> [1 ]
> [1.1 ]
> Is it possible to set the alt attribute of an image for HTML export?
> If I insert an inline image into an Org buffer like so...
>
> [[./foo.png]]
>
> ...and export it to HTML, I get something like this...
>
>
>
On 9/14/10 9:01 AM, Aidan Gauland wrote:
Is it possible to set the alt attribute of an image for HTML export?
Yes, like so:
: #+attr_html: alt="Picture of a foo"
: [[./foo.png]]
See the manual section on exporting to HTML.
Cheers,
CM
If I insert an inline image into an Org buffer like so.
Is it possible to set the alt attribute of an image for HTML export?
If I insert an inline image into an Org buffer like so...
[[./foo.png]]
...and export it to HTML, I get something like this...
But I want the alt attribute to be "foo" (or something else), not the
filename.
I know this is an