all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* inline images
@ 2008-10-01 15:33 Richard Riley
  2008-10-02  0:47 ` Lindsay Todd
  0 siblings, 1 reply; 10+ messages in thread
From: Richard Riley @ 2008-10-01 15:33 UTC (permalink / raw)
  To: org-mode


I sometimes turn on inline images in my org file using code posted here.

,----
| ;; inline images in org files
| ;;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)
`----

It might be an idea to make it a setting as to whether the target image
is inlined too. e.g I have a lot of links of this type:

[[file:../images/gud.png][file:../images/guds.png]]

And would like to only see the small preview png file in this case and
not the large one.

Has anyone implemented something like this or has the code above already
been merged into org?

regards,

r.

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2011-02-07  8:33 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-01 15:33 inline images Richard Riley
2008-10-02  0:47 ` Lindsay Todd
2008-10-02 19:56   ` Felipe Csaszar
2008-10-03  3:34     ` Sebastian Rose
2008-10-03 16:51       ` Felipe Csaszar
2008-10-07  2:50         ` gregory mitchell
2011-01-07  8:06           ` Vladimir Alexiev
2011-01-07 16:31             ` [PATCH] org-display-inline-images to reduce image size Vladimir Alexiev
2011-01-10  8:31               ` Vladimir Alexiev
2011-02-07  8:33                 ` Bastien

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.