emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Cannot display local images with orgmode under macOS
@ 2019-09-12  2:33 Zhengyu Duan
  2019-09-12 12:48 ` Marco Wahl
  0 siblings, 1 reply; 11+ messages in thread
From: Zhengyu Duan @ 2019-09-12  2:33 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 1176 bytes --]

* The problem

    Orgmode under macOS cannot display local images correctly, but it can display internet images without problem.

    I tried both emacs-mac and emacs-plus, they both have this image problem. But emacs under ArchLinux don’t have this problem.

    [[file:xxx.png]]                              cannot be displayed even the file exists.
    [[./xxx.png]]                                  cannot be displayed even the file exists.
    [[http://example.org/xxx.png]]      can be displayed if the link exists.


    Emacs can display any images with C-x C-f xxx.png. The problem happens only with orgmode.

* The reason

    After bisecting org-mode source code I found out that this commit causes the problem:

    https://code.orgmode.org/bzg/org-mode/commit/48da60f47a77f4b99b4160fa620f258896ff4da3

    Reverting to previous commit fixes the problem.


    I’m new to Emacs and don’t understand the code of this commit. I cannot do further investigation.

* Screenshot

   File content:

    [[./cacochan.png]]

    [[https://github.com/hlissner/doom-emacs/raw/screenshots/cacochan.png]]

    Will show like this:

    

[-- Attachment #2.1: Type: text/html, Size: 2338 bytes --]

[-- Attachment #2.2: PastedGraphic-1.png --]
[-- Type: image/png, Size: 116533 bytes --]

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

end of thread, other threads:[~2019-11-18 21:58 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-09-12  2:33 Cannot display local images with orgmode under macOS Zhengyu Duan
2019-09-12 12:48 ` Marco Wahl
2019-09-12 17:02   ` Berry, Charles
2019-09-13  4:37     ` Tim Cross
2019-09-14  7:43       ` Marco Wahl
2019-09-27 10:30         ` Zhengyu Duan
2019-09-27 16:27           ` Marco Wahl
2019-09-13 11:50   ` Rick Frankel
2019-11-17 16:37   ` Jack Kamm
2019-11-17 22:55     ` Jack Kamm
2019-11-18 21:58       ` Marco Wahl

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