emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Generate and display image
@ 2014-03-21 11:36 Andrey Tykhonov
  2014-03-21 11:44 ` John Kitchin
  2014-03-24  8:34 ` Eric S Fraga
  0 siblings, 2 replies; 3+ messages in thread
From: Andrey Tykhonov @ 2014-03-21 11:36 UTC (permalink / raw)
  To: emacs-orgmode


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

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

end of thread, other threads:[~2014-03-24  8:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-21 11:36 Generate and display image Andrey Tykhonov
2014-03-21 11:44 ` John Kitchin
2014-03-24  8:34 ` Eric S Fraga

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).