zadam / trilium-web-clipper

Save web clippings to Trilium Notes.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Runtime error when clipping local html-files with images

JLKM opened this issue · comments

commented

Trilium's Web Clipper works flawless, when it comes to clipping articles from the internet. Same goes for local html files.

However, when trying to clip a local html file with images (also stored locally) in it, nothing gets clipped, and this error turns up: Calling browser runtime failed. Refreshing page might help.

Page refresh in the browser makes no difference.

Changing the image source from relative to absolute path (starting with file:///F:/ etc.) does not solve the problem. Nor does removal of inline styles like style="width:16pt;height:16pt;" from the image tags.

Images from pages on the internet get transferred like a charm. It would really be a step forward, if the same were the case for locally stored images.

Setup:

Windows 10 with local Trilium (no server).
Trilium 0.38.2.
Web Clipper: trilium_web_clipper-0.1.1-an+fx.xpi on Firefox.