switchable image shrinking

This commit is contained in:
zadam
2019-02-24 12:25:34 +01:00
parent 51bbc10744
commit b7bd94b6b0
3 changed files with 3 additions and 3 deletions

View File

@@ -251,7 +251,7 @@ async function importEnex(importContext, file, parentNote) {
try {
const originalName = "image." + resource.mime.substr(6);
const {url} = await imageService.saveImage(resource.content, originalName, noteEntity.noteId);
const {url} = await imageService.saveImage(resource.content, originalName, noteEntity.noteId, importContext.shrinkImages);
const imageLink = `<img src="${url}">`;