Thank you for the inline image pasting!

Hey Dynalist team!

I just wanted to say “thank you” for a new feature I noticed this morning. I pasted an image into my outline, and I noticed that rather than uploading the image into the cloud storage, it instead pasted it as an inline data element, e.g. ![](data:image/png;base64,...) .

Thank you for making this change! It’s so convenient to have the images stored right along with the text of the outline; it’s easier to copy, export, share, etc.

Keep up the great work! :+1:

Craig

1 Like

I’m not sure that is a feature, it is questionable how that will affect performance.

How many of these have you pasted in your document?

I’ve only pasted one or two, and they were relatively small PNG files.

I think I see your point; I suppose large attachments would not be appropriate to inline like this. But for small images like these I’m very happy to see this change.

I can’t get this to work … always uploads to cloud with all the different methods I can think of - any idea how to replicate what you’re getting? Do you get it if you (1) drag files and (2) if you e.g. print screen then ctrl+v ?

Hmm, trying to replicate this behavior was trickier than I thought. It seems like it works like this:

  • If the image source is a file, Dynalist will upload the file and paste an image link to the cloud storage.
  • If the image source is a URL, Dyalist will paste an image link to the URL.
  • If the image is only in-memory, Dynalist will paste a data link like I described above.

Here’s how I can replicate it on my Windows 10 machine:

  1. Open a page in your browser that generates an image not backed by a URL. For example, at the time of this post, this JSFiddle will generate a red block in the lower right corner of the page: https://jsfiddle.net/xameeramir/p1twjL7k/

  2. Right-click the image and choose “Copy image”

  3. Paste the image into Dynalist. It creates a data link like the one I described above.

So maybe this isn’t a new feature after all, but one that I just discovered because I was working with some generated images over the weekend. Either way it’s good to know how it works. :slight_smile:

2 Likes

Maybe my bug report concerning this topic is of interest.

Thanks Louis. It sounds like sometimes one person’s bug is another person’s feature! :smiley:

Having read your bug report, I agree that standardizing the upload behavior makes sense. Perhaps it could be made into an option.

Either way, I’m glad to know that I can convert images to a data URI before I paste them into the outline, and get the behavior I want.

@Shida: did we intentionally make such a change?

I don’t believe so. It could be caused by a recent browser spec change?