Image/Attachement store mechanism ?
Opened this issue · 6 comments
files in .local OR sqlite ?
May be we should have a default attachment icon which shows up in HTML but is actually linked to the file which could be where ever it is stored.
This would keep the interface clean, and intuitive rather than having an attachment section which has all the attachments to those notes.
Also will have to add some meta information and store it so these attachments are searchable
For Images, I'm going to go ahead with storing them as base64 by directly embedding in the document when the image is not a link on the internet. i.e. if it comes as an attachment or as a "resource".
For other attachments, lets save them as blob in sqlite.
Yes, that sounds good
On Mon, Jun 30, 2014 at 3:53 PM, Aniket Deole notifications@github.com
wrote:
For Images, I'm going to go ahead with storing them as base64 by directly
embedding in the document when the image is not a link on the internet.
i.e. if it comes as an attachment or as a "resource".
For other attachments, lets save them as blob in sqlite.—
Reply to this email directly or view it on GitHub
#17 (comment).
Images done. Check Commit 599f34b
Attachments remaining.
@Ghatage Can you take a look at attachments and how they can be synced up ?
Evernote reference: https://dev.evernote.com/doc/reference/Types.html#Struct_Resource
Take a look at how images are currently stored. The "Insert Image" is icon is the last icon on the toolbar.