[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [BUG] Inline images cannot be displayed [9.5 (release_9.5-108-g93132
From: |
Bhavin Gandhi |
Subject: |
Re: [BUG] Inline images cannot be displayed [9.5 (release_9.5-108-g93132c @ /tmp/org-mode/lisp/)] |
Date: |
Fri, 15 Oct 2021 23:16:23 +0530 |
Hello Liu,
On Fri, 15 Oct 2021 at 19:49, Liu Hui <liuhui1610@gmail.com> wrote:
>
> Org mode cannot display inline images because of an error caused by
> org-display-inline-image--width. It seems display-line-numbers-width
> is regarded as a number unconditionally.
>
> Recipe:
>
> 1. emacs -Q
>
> 2. Make the following settings:
>
> (setq org-image-actual-width nil)
> (setq org-startup-with-inline-images t)
>
> 3. Open some org-mode file containing image links, e.g.
>
> #+attr_org: :width 50%
> [[file:~/test.jpg]]
Confirmed
I was able to reproduce this with the latest main branch. It works fine with
attributes like this:
#+attr_org: :width 500px
And the 9.5 tag does not have this bug, so I think this might be related to
recent changes to image width. Adding Timothy to CC who worked on those
changes.
--
Regards,
Bhavin Gandhi (bhavin192) | https://geeksocket.in