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

ownNote doesn't automatically convert images to Base64 when imported from Evernote #319

Open
Cubytus opened this issue Aug 1, 2016 · 2 comments

Comments

@Cubytus
Copy link

Cubytus commented Aug 1, 2016

OwnNote is supposed to import notes exported as HTML from Evernote.
If all files and folders are under the /Notes folder with an HTML extension, they get automaticlaly converted to HTM upon conversion. Images are supposed to be converted to Base64 and embedded in the HTM file.

However, this conversion is not performed properly. Upon importation, images and sound files are still linked from the HTML file by their relative path, and don't display at all.

captura de pantalla 2016-08-01 a las 18 35 14
captura de pantalla 2016-08-01 a las 18 32 43

README is also unclear: the /Notes folder isn't automatically created, nor used with default configuration.
Default settings calls for database-storage only, while README refers to database + folder, which must be done by an administrator.
captura de pantalla 2016-08-01 a las 18 19 10

What is the solution for effective and automatic conversion to Base64?

@realgeek
Copy link

I didn't think mine was working either, but I found one html/resource pair which did work: ZPAQ.html and ZPAQ.resources. I think if the stem names are simple (don't require URL encoding) then it works fine. The problem seems to be not doing URL decoding before trying to find the resource files in the filesystem.

@ikke-t
Copy link

ikke-t commented Oct 23, 2016

storing images in base64 is problematic. I started loosing notes after inserting images. This was caused by hitting SQL limits for entry size. If your image happens to be large, or there are several of those, ownNote silently fails to store them. So I'd propose to have the images stored only in the file storage, not in the SQL at all.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants