mirror of
https://github.com/zadam/trilium.git
synced 2025-11-18 03:00:41 +01:00
switchable image shrinking
This commit is contained in:
@@ -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}">`;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user