emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* image alt text for HTML export
@ 2010-09-14  7:01 Aidan Gauland
  2010-09-14  7:45 ` Christian Moe
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Aidan Gauland @ 2010-09-14  7:01 UTC (permalink / raw)
  To: emacs-orgmode


[-- 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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-01-04 16:27 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-14  7:01 image alt text for HTML export Aidan Gauland
2010-09-14  7:45 ` 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

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).