emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: William Denton <wtd@pobox.com>
To: Rick Frankel <rick@rickster.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: How to use an image as an anchor in HTML  export?
Date: Tue, 18 Mar 2014 12:57:03 -0400 (EDT)	[thread overview]
Message-ID: <alpine.DEB.2.02.1403181255560.2775@shell.miskatonic.org> (raw)
In-Reply-To: <8daf1be76e57dd8e7e8f546276741cfa@mail.rickster.com>

[-- Attachment #1: Type: TEXT/PLAIN, Size: 493 bytes --]

On 18 March 2014, Rick Frankel wrote:

>> What I want to end up with in the output is something like:
>> 
>> <a href="foo.html"><img src="./images/foo.jpg"></a>
>
>
> #+BEGIN_SRC org
> ,* Test image link
> [[http://example.com][file:image1.png]]
> #+END_SRC

Cripes, I was sure I'd tried that, but I guess I didn't.  And of course it's the 
easiest and obvious way to do it---the usual Org approach.

Thanks.

Bill
-- 
▮ William Denton ▮ Toronto, Canada ▮ http://www.miskatonic.org/

      reply	other threads:[~2014-03-18 16:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-18 15:46 How to use an image as an anchor in HTML export? William Denton
2014-03-18 16:26 ` Rick Frankel
2014-03-18 16:57   ` William Denton [this message]

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=alpine.DEB.2.02.1403181255560.2775@shell.miskatonic.org \
    --to=wtd@pobox.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=rick@rickster.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).