cancel
Showing results for 
Search instead for 
Did you mean: 

Support for base64 encoded images in Notes

ssze_
Star Contributor
Star Contributor

When I drag and drop an HTML file with base64 images in a Workspace, nuxeo automatically creates a note file. Unfortunately the base64 encoded images are removed.

<img alt="django" />
<img alt="django CMS" />
<img alt="Flask" />

The only process to work with such files is currently to upload them to 'File' document type and download them each time for editing.

Any chance I can preserve the image content for online editing?

1 ACCEPTED ANSWER

LaraGranite_
Star Contributor
Star Contributor

You can preview the HTML file with base64 images through the API. Just substitute your nuxeo server and your File document UID in the following link: http://localhost:8080/nuxeo/site/api/v1/repo/default/id/5222d245-255b-43dd-8e33-adedb16872a6/@blob/f...

You'd have to customize the View layout to display this on the document directly, for example using an iframe.

Also, just fyi, it is possible to use drag and drop to create File documents; just use the "Properties" button on the import popup screen to choose File instead of the html default (Note).

View answer in original post

1 REPLY 1

LaraGranite_
Star Contributor
Star Contributor

You can preview the HTML file with base64 images through the API. Just substitute your nuxeo server and your File document UID in the following link: http://localhost:8080/nuxeo/site/api/v1/repo/default/id/5222d245-255b-43dd-8e33-adedb16872a6/@blob/f...

You'd have to customize the View layout to display this on the document directly, for example using an iframe.

Also, just fyi, it is possible to use drag and drop to create File documents; just use the "Properties" button on the import popup screen to choose File instead of the html default (Note).

Getting started

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.