Images not loading on Excalidraw in the site #640
Replies: 4 comments
-
It works with svg but not images i need to understand how when i load my markdown file from obsidian which is a excalidrawing but is loadable and is loading as shown in the example of the site of digital garden documentation and as i tried it. They way that the plugin works is you add dgpublish true ontop of the markdown file and it shows up in the site in the filetree sidebar . like you would see it in obsidian interface. so when i add the dh publish true to the excalidrawing it renders it also and it shows it as a drawing the problem is the files on the drwaing itself. The files that it renders on the excalidrawing are text and eveything that you can add from the excalidraw itself but if i try to add a image onto the excalidrawing it just renders a box of where the image is plotted on the excalidrwaing canvas and the image is not loading it just shows as grey outline where it is located. how do i fix that . i tought to myself that if i find out the code that gets generated from the ecalidrawing when its rendered and converted so ican be loaded into the site is edited and the pictures get added there maybe with a link from web or some other way that it will help it load it would make it work and it wont stay just a grey outline of where they are but actually they pop up on there |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
It picks only the JSON code from the excalidrawing and the rest it doesnt. How can we make it pickup the rest of the excalidrawing. |
Beta Was this translation helpful? Give feedback.
-
I found what is used to generate the code for the excalidrawing and what is also used from the site if anybody can go through it and find what we need to modify in the code so the browser picks up the images i will apreciate. |
Beta Was this translation helpful? Give feedback.
-
The images are not loading why is that how can i fix it.
here is a link to the site https://digigard-one.vercel.app/7-defcon-machine-learning/drawing-2024-09-12-02-10-40-excalidraw/
Beta Was this translation helpful? Give feedback.
All reactions