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

Keep embedded images when importing an OBF board that contains embedded images #756

Closed
martinbedouret opened this issue Jul 24, 2020 · 0 comments · Fixed by #760
Closed
Assignees
Labels
Milestone

Comments

@martinbedouret
Copy link
Collaborator

Currently, when a user imports an OBF board that contains embedded images, we save those images in the cloud and we replace the tile image by a reference to the file in the cloud. That affects to the offline users as the cloud images won't be displayed.
The initial solution would be to simply keep embedded images in such format data:image/... but I am open to any other suggestion.

@martinbedouret martinbedouret added this to the 1.6.0 milestone Jul 24, 2020
sylvansson added a commit that referenced this issue Jul 25, 2020
This commit updates the export logic to use an ObjectId as an image
identifier and to solve two issues:

1. We no longer have an extremely long id when the `image` property
   is a data URI like `data:image/png;base64,iVBORw0K`.
2. We now have consistent image ids between `manifest.json` and the
   OBF files, as required by the Open Board Format.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants