From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rick Frankel Subject: Re: How to use an image as an anchor in HTML export? Date: Tue, 18 Mar 2014 12:26:46 -0400 Message-ID: <8daf1be76e57dd8e7e8f546276741cfa@mail.rickster.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54812) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WPwqq-0003sm-Po for emacs-orgmode@gnu.org; Tue, 18 Mar 2014 12:26:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WPwqk-0002Ws-L3 for emacs-orgmode@gnu.org; Tue, 18 Mar 2014 12:26:52 -0400 Received: from mail.rickster.com ([204.62.15.78]:43845) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WPwqk-0002Wl-Hb for emacs-orgmode@gnu.org; Tue, 18 Mar 2014 12:26:46 -0400 In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: William Denton Cc: emacs-orgmode@gnu.org On 2014-03-18 11:46, William Denton wrote: > I would like to use an image as an anchor in an HTML export > (specifically in a reveal.js export---I really like this). I can't > figure out how to make it work, and just end up with either a link > with a missing image or an image with no link. I don't see this > documented. Is it possible? > > What I want to end up with in the output is something like: > > #+BEGIN_SRC org ,* Test image link [[http://example.com][file:image1.png]] #+END_SRC which generates (with subtree export): #+BEGIN_SRC html Test image link

Test image link

image1.png

#+END_SRC