From: Aidan Gauland <aidalgol@no8wireless.co.nz>
To: emacs-orgmode@gnu.org
Subject: image alt text for HTML export
Date: Tue, 14 Sep 2010 19:01:12 +1200 [thread overview]
Message-ID: <20100914070111.GA8823@dimension8.tehua.net> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 591 bytes --]
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...
<img src="foo.png" alt="foo.png" />
But I want the alt attribute to be "foo" (or something else), not the
filename.
I know this is an HTML-specific setting, but I still want the image be
exported to other formats, so inserting literal HTML (see below) isn't
really suitable.
#+HTML: <img src="foo.png" alt="foo" />
If there is no way to do this, should I file a feature request?
--Aidan
[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
[-- Attachment #2: Type: text/plain, Size: 201 bytes --]
_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
next reply other threads:[~2010-09-14 7:01 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-14 7:01 Aidan Gauland [this message]
2010-09-14 7:45 ` image alt text for HTML export Christian Moe
2010-09-14 8:58 ` Aidan Gauland
2010-09-20 8:42 ` Bastien
2010-09-14 7:48 ` Eric S Fraga
2011-01-04 16:26 ` Bastien
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100914070111.GA8823@dimension8.tehua.net \
--to=aidalgol@no8wireless.co.nz \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).