obsidian-slides-extended icon indicating copy to clipboard operation
obsidian-slides-extended copied to clipboard

🐛 Issue - local images are not displayed

Open AM-XR opened this issue 9 months ago • 9 comments

Input data (markdown source)

Issue

Local image embeds dont work at all on Win 10. Not in the preview and also not in the browser and returns the following: Failed to load resource: the server responded with a status of 404 (Not Found)

embedding synthax

different formattings i tried that worked with advanced slides: %% Default %% ![[Out_3.jpg|300x250]]

%% Relative Path %% ![](../_ImagesCollection/Out_3.jpg)

weblinks do work: ![](https://picsum.photos/id/1005/250/250)

steps i tried to solve issue

  • reinstalling
  • stopping and reenabling the extended slides server
  • back and forth testing with advanced slides
  • checked direct paths in browser, files are not there: http://localhost:3011/images/img_a.jpg {"message":"Route GET:/images/img_a.jpg not found","error":"Not Found","statusCode":404}
  • Tested on multiple Win 10 devices

Test Vault

same isolated test vault as sent initially in discussions

Debug Info

SYSTEM INFO: Obsidian version: v1.8.4 Installer version: v1.8.3 Operating system: Windows 10 Pro 10.0.19045 Login status: logged in Language: en Catalyst license: none Insider build toggle: off Live preview: on Base theme: dark Community theme: none Snippets enabled: 0 Restricted mode: off Plugins installed: 1 Plugins enabled: 1 1: Slides Extended v2.1.8

Log File Attached

localhost-1738405545751.log

Navigated to http://localhost:3011/Test%20Vault%20for%20Advanced%20Slides.md lockdown-install.js:1 Removing unpermitted intrinsics controls.js:89 [Violation] Added non-passive event listener to a scroll-blocking 'touchstart' event. Consider marking event handler as 'passive' to make the page more responsive. See https://www.chromestatus.com/feature/5745543795965952 (anonymous) @ controls.js:89 (anonymous) @ controls.js:89 bind @ controls.js:88 Se @ reveal.js:571 Je @ reveal.js:1658 Ee @ reveal.js:554 ye @ reveal.js:214 controls.js:90 [Violation] Added non-passive event listener to a scroll-blocking 'touchstart' event. Consider marking event handler as 'passive' to make the page more responsive. See https://www.chromestatus.com/feature/5745543795965952 (anonymous) @ controls.js:90 (anonymous) @ controls.js:90 bind @ controls.js:88 Se @ reveal.js:571 Je @ reveal.js:1658 Ee @ reveal.js:554 ye @ reveal.js:214 controls.js:91 [Violation] Added non-passive event listener to a scroll-blocking 'touchstart' event. Consider marking event handler as 'passive' to make the page more responsive. See https://www.chromestatus.com/feature/5745543795965952 (anonymous) @ controls.js:91 (anonymous) @ controls.js:91 bind @ controls.js:88 Se @ reveal.js:571 Je @ reveal.js:1658 Ee @ reveal.js:554 ye @ reveal.js:214 controls.js:92 [Violation] Added non-passive event listener to a scroll-blocking 'touchstart' event. Consider marking event handler as 'passive' to make the page more responsive. See https://www.chromestatus.com/feature/5745543795965952 (anonymous) @ controls.js:92 (anonymous) @ controls.js:92 bind @ controls.js:88 Se @ reveal.js:571 Je @ reveal.js:1658 Ee @ reveal.js:554 ye @ reveal.js:214 img_a.jpg:1

   GET http://localhost:3011/images/img_a.jpg 404 (Not Found)

Image (anonymous) @ markdown.js:7 c @ markdown.js:7 Promise.then init @ markdown.js:7 s @ plugins.js:130 (anonymous) @ plugins.js:146 initPlugins @ plugins.js:98 (anonymous) @ plugins.js:85 load @ plugins.js:41 initialize @ reveal.js:161 (anonymous) @ index.js:38 (anonymous) @ Test Vault for Advanced Slides.md:223 img_b.jpg:1

   GET http://localhost:3011/images/img_b.jpg 404 (Not Found)

Image (anonymous) @ markdown.js:7 c @ markdown.js:7 Promise.then init @ markdown.js:7 s @ plugins.js:130 (anonymous) @ plugins.js:146 initPlugins @ plugins.js:98 (anonymous) @ plugins.js:85 load @ plugins.js:41 initialize @ reveal.js:161 (anonymous) @ index.js:38 (anonymous) @ Test Vault for Advanced Slides.md:223

best regards, AM

Expected Behavior

  • Image show up in obsidian preview
  • Images show up in browser

Current behaviour

  • Image dont show up in obsidian preview
  • Images dont show up in browser

Steps to reproduce

  1. Embed images in obsidian in a slides note
  2. Start slides server
  3. Check out preview
  4. Check out browser

Which Operating Systems are you using?

  • [ ] Android
  • [ ] iPhone/iPad
  • [ ] Linux
  • [ ] macOS
  • [x] Windows

Obsidian Version

1.8.4

Slides Extended Plugin Version

2.1.8

Checks

  • [x] I have tried it in the sandbox vault with only this plugin enabled

Possible solution

No response

AM-XR avatar Feb 01 '25 10:02 AM-XR