From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: FR: Display images in org-mode? Date: Tue, 08 Jan 2008 13:17:05 +0000 Message-ID: <87bq7wihim.fsf@bzg.ath.cx> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JCEKZ-0001zf-E6 for emacs-orgmode@gnu.org; Tue, 08 Jan 2008 08:17:23 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JCEKW-0001wL-8A for emacs-orgmode@gnu.org; Tue, 08 Jan 2008 08:17:23 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JCEKV-0001wE-TF for emacs-orgmode@gnu.org; Tue, 08 Jan 2008 08:17:19 -0500 Received: from mu-out-0910.google.com ([209.85.134.186]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JCEKV-0005z2-KH for emacs-orgmode@gnu.org; Tue, 08 Jan 2008 08:17:19 -0500 Received: by mu-out-0910.google.com with SMTP id g7so5707873muf.0 for ; Tue, 08 Jan 2008 05:17:18 -0800 (PST) In-Reply-To: (MarkS's message of "Mon, 7 Jan 2008 17:45:39 +0000 (UTC)") 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: MarkS Cc: emacs-orgmode@gnu.org Hi Marks, MarkS writes: > One feature of emacs-muse that I really like and can use is the > ability to display inline images right inside of emacs. This allows me > to see thumbnails of documents I'm currently working on, or catalog > photographs on CD. I've had a quick look at the code in Muse for this. Inline images are a good feature if we have something like `org-toggle-inline-images'. > Is there any hope that orgmode will ever have this capability? I was > thinking that the image rendering must somehow be inherent in emacs > for muse to be able to do this, so maybe it wouldn't be too hard for > orgmode to do it too? Definitely not that hard. 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? -- Bastien