emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "William Henney" <whenney@gmail.com>
To: MarkS <throaway@yahoo.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Re: FR: Display images in org-mode?
Date: Tue, 8 Jan 2008 08:56:40 -0600	[thread overview]
Message-ID: <41c818190801080656t4e455540n92b1fc151a0d9faa@mail.gmail.com> (raw)
In-Reply-To: <loom.20080108T144006-815@post.gmane.org>

On Jan 8, 2008 8:48 AM, MarkS <throaway@yahoo.com> wrote:
> 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.
>

Perhaps a separate link type would be best for that

[[image:/path/to/file.jpg][My description]]

=> <img src="[img URL]" alt="My description">

There could also be "movie:" and "audio:", or even just a general link
type "media"", which automagically Does The Right Thing.

Cheers

Will

-- 

  Dr William Henney, Centro de Radioastronomía y Astrofísica,
  Universidad Nacional Autónoma de México, Campus Morelia

  reply	other threads:[~2008-01-08 14:56 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
2008-01-08 14:56     ` William Henney [this message]
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=41c818190801080656t4e455540n92b1fc151a0d9faa@mail.gmail.com \
    --to=whenney@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=throaway@yahoo.com \
    /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).