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

Importing commonmark with images from zip fails #4301

Closed
solderdev opened this issue Oct 1, 2023 · 1 comment
Closed

Importing commonmark with images from zip fails #4301

solderdev opened this issue Oct 1, 2023 · 1 comment

Comments

@solderdev
Copy link

Trilium Version

0.61.8-beta docker image

What operating system are you using?

Ubuntu

What is your setup?

Server access only

Operating System Version

Docker image zadam/trilium:0.61-latest 948707ba8cff

Description

Hi!

The import of a .md file directly works and displays the base64 encoded embedded image.

When the same .md file is zipped and the zipfile is imported the embedded image fails to show (white rectangle with "This image has been deleted X").

Reproduce:
a)
import attached .zip file --> no image

b)
extract zipfile.
import .md file directly --> image shows

Imports are done by right-clicking on a note and "Import into note".

Best regards

tree.jpg.zip

Tested on clean run via Docker-image.

Error logs

No response

@zadam
Copy link
Owner

zadam commented Oct 3, 2023

Thanks for the report and file, bug fixed.

@zadam zadam closed this as completed Oct 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants