From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrey Tykhonov Subject: Generate and display image Date: Fri, 21 Mar 2014 13:36:41 +0200 Message-ID: <87zjkj6awm.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42125) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WQxlS-0006J6-Id for emacs-orgmode@gnu.org; Fri, 21 Mar 2014 07:37:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WQxlG-0002ci-Hg for emacs-orgmode@gnu.org; Fri, 21 Mar 2014 07:37:30 -0400 Received: from mail-ee0-x22e.google.com ([2a00:1450:4013:c00::22e]:38583) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WQxlG-0002cN-AG for emacs-orgmode@gnu.org; Fri, 21 Mar 2014 07:37:18 -0400 Received: by mail-ee0-f46.google.com with SMTP id t10so1673856eei.5 for ; Fri, 21 Mar 2014 04:37:17 -0700 (PDT) Received: from demi ([193.84.22.38]) by mx.google.com with ESMTPSA id h47sm3095139eey.13.2014.03.21.04.37.15 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 21 Mar 2014 04:37:16 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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