emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Chris Thompson <thompson.chris@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Wow -- adding images to an org file
Date: Fri, 7 May 2010 02:16:12 +0000 (UTC)	[thread overview]
Message-ID: <loom.20100507T041116-74@post.gmane.org> (raw)
In-Reply-To: u2u211769421005061901h409c8a6wfbe3c11dd82993ac@mail.gmail.com

Nathan Neff <nathan.neff <at> 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

  reply	other threads:[~2010-05-07  3:40 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-07  2:01 Wow -- adding images to an org file Nathan Neff
2010-05-07  2:16 ` Chris Thompson [this message]
2010-05-07  7:55   ` Carsten Dominik
2010-05-07 12:58     ` Dan Davison
2010-05-08 10:51       ` Carsten Dominik
2010-05-09 15:05         ` Daniel Martins
2010-05-09 17:23           ` Sebastian Rose
2010-05-11 19:14         ` Russell Adams
2010-05-11 21:29           ` Dan Davison
2010-05-12 12:41             ` Carsten Dominik
  -- strict thread matches above, loose matches on Subject: below --
2010-05-11 23:20 robut
2010-05-12  5:39 ` Baoqiu Cui
2010-05-12  6:07   ` Carsten Dominik
2010-05-12  7:55     ` Baoqiu Cui
2010-05-12 12:48       ` Carsten Dominik
2010-05-12 16:36         ` Baoqiu Cui

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=loom.20100507T041116-74@post.gmane.org \
    --to=thompson.chris@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).