emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: MarkS <throaway@yahoo.com>
To: emacs-orgmode@gnu.org
Subject: Re: FR: Display images in org-mode?
Date: Tue, 8 Jan 2008 14:48:28 +0000 (UTC)	[thread overview]
Message-ID: <loom.20080108T144006-815@post.gmane.org> (raw)
In-Reply-To: 87bq7wihim.fsf@bzg.ath.cx

Bastien <bzg <at> altern.org> writes:

> For now there is this rule applying to the HTML export: if an image link
> has no description, or if the description and the link are equal, inline
> the image in the HTML output: 
> 
>   [[file:/home/me/me.jpg]] => <img src="[img URL]">
> 
> If there is some informative description 
> then don't inline the image, juste link to it.
> 
>   [[file:/home/me/me.jpg][Me!]] => <a href="[img URL]">Me!</a>
> 
> Would this rule be okay for inlining images in the buffer as well?
> 

Is that the rule, or is this the rule (from the documentation):

  If the description is a file name or URL that points to an 
  image, HTML export (*note HTML export::) will inline the image
  as a clickable button.  If there is no description at all and 
  the link points to an image, that image will be inlined into 
  the exported HTML file.


This latter rule would work. One would want the exported HTML to be a clickable
button so that you could, for example, have a thumbnail on the page that points
to a higher resolution version in a different directory.

The thing that's missing from either approach is that you can't specify
attributes -- especially the alt tag for creating w3c compliant, disability
accessible, search-engine friendly image descriptions. 

Thanks!
-- Mark

  reply	other threads:[~2008-01-08 14:48 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-07 17:45 FR: Display images in org-mode? MarkS
2008-01-08 13:17 ` Bastien
2008-01-08 14:48   ` MarkS [this message]
2008-01-08 14:56     ` William Henney
2008-01-09 17:49       ` MarkS
2008-01-09 18:12         ` Piotr Zielinski
2008-01-09 19:30           ` William Henney

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=loom.20080108T144006-815@post.gmane.org \
    --to=throaway@yahoo.com \
    --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).