[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Displaying images does not always work - why not?
From: |
Nick Dokos |
Subject: |
Re: Displaying images does not always work - why not? |
Date: |
Tue, 7 Jun 2011 02:54:11 +0000 (UTC) |
User-agent: |
Loom/3.14 (http://gmane.org/) |
Nick Dokos <nicholas.dokos <at> hp.com> writes:
> ...
> I tried to reduce it to more elemental components, by saving the image part of
> the cached file into a different file, called foo.gif. ...
> But when I try
>
> (setq i (create-image "foo.png"))
> (insert-image i)
>
> I get the dreaded empty box (and the same thing with foo.gif). ...
Well, this last part is a bust: apparently, create-image needs an absolute
pathname - that's why the insert-image doesn't work (and *Messages* makes it
obvious). But that still doesn't explain the original problem:
org-google-weather uses a :data spec for the image, not a :file spec.
Nick