emacs-orgmode
[Top][All Lists]
Advanced

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

[O] Generate and display image


From: Andrey Tykhonov
Subject: [O] Generate and display image
Date: Fri, 21 Mar 2014 13:36:41 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

Hi all!

What I want to do is to generate image (better to say a path to an image)
in the org-file and then see it posted in my blog.

For example, I have such block:

#+BEGIN_SRC text2image :exports results
Foo
Bar
Baz
#+END_SRC

There is text2image command line utility which takes a text and converts it
to the image, then returns a path to the image.

When I execute that block by means of `org-babel-execute-src-block' that
block executes correctly and returns a path:

#+RESULTS:
: [[/home/demi/images/2014-03-21-024756.png]]

The issue is that that after execution of
`org2blog/wp-post-buffer-and-publish' I'm expecting to see in the blog post
the image but I see this path literally (instead of image):

[[/home/demi/images/2014-03-21-024756.png]]


How to fix that issue? Please help.

I tried to change text2image program to return a path with a prefix "file:"
and "file:///" but that didn't help.



Andrey



reply via email to

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