From mboxrd@z Thu Jan 1 00:00:00 1970 From: William Denton Subject: How to use an image as an anchor in HTML export? Date: Tue, 18 Mar 2014 11:46:11 -0400 (EDT) Message-ID: Mime-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="658601964-1637424119-1395157571=:2205" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39482) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WPwDa-0004JM-1u for emacs-orgmode@gnu.org; Tue, 18 Mar 2014 11:46:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WPwDV-0003uu-2D for emacs-orgmode@gnu.org; Tue, 18 Mar 2014 11:46:17 -0400 Received: from shell.miskatonic.org ([65.39.236.119]:39565) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WPwDU-0003ug-UJ for emacs-orgmode@gnu.org; Tue, 18 Mar 2014 11:46:12 -0400 Received: from wtd (helo=localhost) by shell.miskatonic.org with local-esmtp (Exim 4.80) (envelope-from ) id 1WPwDT-0000ab-NB for emacs-orgmode@gnu.org; Tue, 18 Mar 2014 11:46:11 -0400 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: emacs-orgmode@gnu.org This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --658601964-1637424119-1395157571=:2205 Content-Type: TEXT/PLAIN; format=flowed; charset=UTF-8 Content-Transfer-Encoding: 8BIT 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: Thanks, Bill -- ▮ William Denton ▮ Toronto, Canada ▮ http://www.miskatonic.org/ ▮ --658601964-1637424119-1395157571=:2205-- 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 From mboxrd@z Thu Jan 1 00:00:00 1970 From: William Denton Subject: Re: How to use an image as an anchor in HTML export? Date: Tue, 18 Mar 2014 12:57:03 -0400 (EDT) Message-ID: References: <8daf1be76e57dd8e7e8f546276741cfa@mail.rickster.com> Mime-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="658601964-2138011019-1395161823=:2775" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35023) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WPxKA-0003Oq-Rt for emacs-orgmode@gnu.org; Tue, 18 Mar 2014 12:57:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WPxK4-0004TW-8f for emacs-orgmode@gnu.org; Tue, 18 Mar 2014 12:57:10 -0400 Received: from shell.miskatonic.org ([65.39.236.119]:40429) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WPxK4-0004Sw-5U for emacs-orgmode@gnu.org; Tue, 18 Mar 2014 12:57:04 -0400 In-Reply-To: <8daf1be76e57dd8e7e8f546276741cfa@mail.rickster.com> 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: Rick Frankel Cc: emacs-orgmode@gnu.org This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --658601964-2138011019-1395161823=:2775 Content-Type: TEXT/PLAIN; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8BIT On 18 March 2014, Rick Frankel wrote: >> 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 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/ ▮ --658601964-2138011019-1395161823=:2775--