From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Thompson Subject: Re: Wow -- adding images to an org file Date: Fri, 7 May 2010 02:16:12 +0000 (UTC) Message-ID: References: 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 1OAEQ6-0003xx-Am for emacs-orgmode@gnu.org; Thu, 06 May 2010 23:40:10 -0400 Received: from [140.186.70.92] (port=38776 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OAEQ3-0003uR-RT for emacs-orgmode@gnu.org; Thu, 06 May 2010 23:40:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OAEQ1-00028r-Tv for emacs-orgmode@gnu.org; Thu, 06 May 2010 23:40:07 -0400 Received: from lo.gmane.org ([80.91.229.12]:49091) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OAEQ1-00028e-MQ for emacs-orgmode@gnu.org; Thu, 06 May 2010 23:40:05 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OAEPz-0008JY-SN for emacs-orgmode@gnu.org; Fri, 07 May 2010 05:40:04 +0200 Received: from 69-196-189-205.dsl.teksavvy.com ([69.196.189.205]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 07 May 2010 05:40:03 +0200 Received: from thompson.chris by 69-196-189-205.dsl.teksavvy.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 07 May 2010 05:40:03 +0200 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 Nathan Neff gmail.com> writes: > > I just saw Andreas's screenshot here: > > http://orgmode.org/worg/org-screenshots.php > > If you zoom in to his screenshot, > http://orgmode.org/img/screenshots/org_andreas.jpg > > You can see how he adds images to his org files. > All that I had to do was put this into my emacs init file: > > (defun org-dblock-write:image (params) > (let ((file (plist-get params :file))) > (clear-image-cache file) > (insert-image (create-image file) ))) > > Then, put this in an org-file: > > #+BEGIN: image :file "~/Documents/personal/foo.png" > #+END > > And run C-c C-c (or is it C-c C-x C-u)? > > Anyway, Cool stuff! > > --Nate > Another way to have images in org-mode documents is to use the "iimage" minor mode, which handles inline images: http://www.netlaputa.ne.jp/~kose/Emacs/iimage.html For additional documentation: http://orgmode.org/worg/org-configs/org-config-examples.php#sec-2_2 It's pretty nifty. -- Chris