From mboxrd@z Thu Jan 1 00:00:00 1970 From: MarkS Subject: Re: FR: Display images in org-mode? Date: Tue, 8 Jan 2008 14:48:28 +0000 (UTC) Message-ID: References: <87bq7wihim.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JCFl0-0002PU-4f for emacs-orgmode@gnu.org; Tue, 08 Jan 2008 09:48:46 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JCFkx-0002Nw-QQ for emacs-orgmode@gnu.org; Tue, 08 Jan 2008 09:48:45 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JCFkx-0002Nr-Ak for emacs-orgmode@gnu.org; Tue, 08 Jan 2008 09:48:43 -0500 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JCFkx-00022j-0o for emacs-orgmode@gnu.org; Tue, 08 Jan 2008 09:48:43 -0500 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1JCFkt-00020g-JY for emacs-orgmode@gnu.org; Tue, 08 Jan 2008 14:48:40 +0000 Received: from ip72-199-153-117.sd.sd.cox.net ([72.199.153.117]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 08 Jan 2008 14:48:39 +0000 Received: from throaway by ip72-199-153-117.sd.sd.cox.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 08 Jan 2008 14:48:39 +0000 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Bastien 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]] => > > If there is some informative description > then don't inline the image, juste link to it. > > [[file:/home/me/me.jpg][Me!]] => Me! > > 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