emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] FR: Display images in org-mode?


From: Bastien
Subject: Re: [Orgmode] FR: Display images in org-mode?
Date: Tue, 08 Jan 2008 13:17:05 +0000
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.0 (gnu/linux)

Hi Marks,

MarkS <address@hidden> writes:

> One feature of emacs-muse that I really like and can use is the
> ability to display inline images right inside of emacs. This allows me
> to see thumbnails of documents I'm currently working on, or catalog
> photographs on CD.

I've had a quick look at the code in Muse for this.  Inline images are a
good feature if we have something like `org-toggle-inline-images'.

> Is there any hope that orgmode will ever have this capability? I was
> thinking that the image rendering must somehow be inherent in emacs
> for muse to be able to do this, so maybe it wouldn't be too hard for
> orgmode to do it too?

Definitely not that hard.  

For now there is this rule applying to the HTML export: if an image link
has no description, or if the description and the link are equal, inline
the image in the HTML output: 

  [[file:/home/me/me.jpg]] => <img src="[img URL]">

If there is some informative description 
then don't inline the image, juste link to it.

  [[file:/home/me/me.jpg][Me!]] => <a href="[img URL]">Me!</a>

Would this rule be okay for inlining images in the buffer as well?

-- 
Bastien




reply via email to

[Prev in Thread] Current Thread [Next in Thread]