Skip to content

Store/sync images in canvas data #107

Description

@cyclotruc

Currently, we don't store images
users can paste them in pads, but they won't show up for other users accessing the same page or on page reload

Data for a canvas looks like this when empty:

Image

The files dict in vanilla Excalidraw is filled with an encoded version of the file's data

For pad, we should instead a fast and reliable storage, very likely a classic CDN setup that takes any pasted file, uploads it, and gives back the link for it

The CDN must be protected behind auth
We can also investigate file formats other than images like videos, gifs or even PDFs

If anyone is interested to work on this, let me know and we can discuss it!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions