Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Excalidraw pictures not showing on slides #162

Open
oke11o opened this issue Nov 2, 2022 · 5 comments
Open

Excalidraw pictures not showing on slides #162

oke11o opened this issue Nov 2, 2022 · 5 comments
Labels
bug Something isn't working

Comments

@oke11o
Copy link

oke11o commented Nov 2, 2022

Describe the bug
Excalidraw pictures not showing on slides.
It's look like with #119

Plugin version 1.18.1
Obsidian 1.0.3
MacOS 12.6

Excalidraw settings:

  "exportPaddingSVG": 10,
  "keepInSync": true,
  "autoexportSVG": true,
  "autoexportPNG": false,
  "autoexportExcalidraw": true,
@oke11o oke11o added the bug Something isn't working label Nov 2, 2022
@fnumatic
Copy link
Contributor

fnumatic commented Nov 4, 2022

Can not confirm this issue.
Plugin version 1.19.0
Obsidian 1.0.3

@rdoering
Copy link

Me, too.

Maybe this is related to feature request #186.

@d80harri
Copy link

d80harri commented Jan 2, 2023

Does not work either on my machine

advanced slides: 1.19.0
excalidraw: 1.8.7
Obsidian: 1.1.9
OS: Ubuntu 22.4

I can not embed neither "![[Drawing 2023-01-02 16.43.37.excalidraw]]" nor "![[Drawing 2023-01-02 16.43.37.excalidraw.dark.png]] although both of those files are there and I see the image rendered in the obsidian editor, but not in my slides (not in the preview, not in the html export). I currently do screenshots of those images and embed those.

@d80harri
Copy link

d80harri commented Jan 2, 2023

I noticed that the exported html usually renders images like ![[someimage.png]] as

<img src="attachemnts/someimage.png>

While excalidraw images ![[someimage.excalidraw]] are just rendered as

<p>![[Drawing 2023-01-02 16.43.37.excalidraw]]</p>

which is kind of strange.

When I try to embed the png version of an excalidraw image with "![[someimage.excalidraw.dark.png]]" it will be rendered as

<img src="Drawing 2023-01-02 16.43.37.excalidraw|.dark.png" alt="" style="object-fit: scale-down">

Don't know what te "|.dark.png" is about, but it also looks like the image is searched in the root folder instead of the attachments folder where I store excalidraw images.

@jesloper
Copy link

There is a bug in the lookup for svg/png files that does not work when excalidraw exports both light and dark themes, since that results in files with the endings *.[dark|light].[svg|png] while the plugin expects them to be named *.[svg|png]

So for this to work you would have to turn off that setting.
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants