From mboxrd@z Thu Jan 1 00:00:00 1970 From: Manish Subject: Re: Displaying images inline Date: Sun, 24 Aug 2008 05:25:47 +0530 Message-ID: References: <20080822230031.GA59512@yog-sothoth.mohorovi.cc> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KX2xU-0005jF-KC for emacs-orgmode@gnu.org; Sat, 23 Aug 2008 19:55:52 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KX2xT-0005ix-8A for emacs-orgmode@gnu.org; Sat, 23 Aug 2008 19:55:52 -0400 Received: from [199.232.76.173] (port=40489 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KX2xS-0005iu-Ui for emacs-orgmode@gnu.org; Sat, 23 Aug 2008 19:55:50 -0400 Received: from ti-out-0910.google.com ([209.85.142.190]:44592) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KX2xS-0000Gd-Fa for emacs-orgmode@gnu.org; Sat, 23 Aug 2008 19:55:50 -0400 Received: by ti-out-0910.google.com with SMTP id u5so568858tia.10 for ; Sat, 23 Aug 2008 16:55:47 -0700 (PDT) In-Reply-To: <20080822230031.GA59512@yog-sothoth.mohorovi.cc> Content-Disposition: inline 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: James TD Smith Cc: emacs-orgmode@gnu.org Awesome! Many thanks. I used to toggle so much between an image (charts/graphs) and Emacs while writing about it but now.. wow! Thanks again. -- Manish On Sat, Aug 23, 2008 at 4:30 AM, James TD Smith wrote: > On 2008-08-22 17:52:46(-0400), Lindsay Todd wrote: >> Is there a way to link to a file containing an image, and have the >> image display inline in org-mode? I know that if the org file is >> exported to HTML, it can be done so that the HTML file displays the >> image inline -- but I'd kind of like to be able to see the linked >> images from the org file itself, much like I can do with a muse file. >> (Although if there were a file-wide property to control whether or not >> that happens, it would be nice -- I could see maybe wanting to never >> inline in some files.) > > You can do this using iimage; add the following to your .emacs: > > ;;iimage > (require 'iimage) > (setq iimage-mode-image-search-path (expand-file-name "~/")) > ;;Match org file: links > (add-to-list 'iimage-mode-image-regex-alist > (cons (concat "\\[\\[file:\\(~?" iimage-mode-image-filename-regex > "\\)\\]") 1)) > (define-key org-mode-map [(control c) ?i] 'iimage-mode) > > You can then toggle inline display of images in an org buffer using C-c i. > > -- > |---| > > > _______________________________________________ > Emacs-orgmode mailing list > Remember: use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode >