emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Sebastian Rose <sebastian_rose@gmx.de>
To: "[emacs-orgmode]" <emacs-orgmode@gnu.org>
Subject: Re: Displaying images inline
Date: Sat, 23 Aug 2008 04:46:31 +0200	[thread overview]
Message-ID: <48AF7A07.2080308@gmx.de> (raw)
In-Reply-To: <20080822230031.GA59512@yog-sothoth.mohorovi.cc>

WOW!!

Thanks for this one!!!

:)

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.
> 
> --
> |-<James TD Smith>-<email/ahktenzero@mohorovi.cc>-|
> 
> 
> _______________________________________________
> 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
> 

  reply	other threads:[~2008-08-23  2:46 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-22 21:52 Displaying images inline Lindsay Todd
2008-08-22 23:00 ` James TD Smith
2008-08-23  2:46   ` Sebastian Rose [this message]
2008-08-23 23:55   ` Manish
2008-08-24  9:32   ` Chris Randle
2008-08-24 12:49     ` Manish
2008-08-24 18:07       ` Daniel Goldin
2008-08-24 13:21   ` Lindsay Todd
2008-08-24 15:54     ` Taru Karttunen
2008-08-24 17:30       ` James TD Smith

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=48AF7A07.2080308@gmx.de \
    --to=sebastian_rose@gmx.de \
    --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).