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.


_______________________________________________
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 via email to