diff --git a/src/components/Editor/MediaHandler.vue b/src/components/Editor/MediaHandler.vue index 10eca9febac..45797a2904a 100644 --- a/src/components/Editor/MediaHandler.vue +++ b/src/components/Editor/MediaHandler.vue @@ -186,7 +186,7 @@ export default { const src = dirname + '/' + encodeURIComponent(name).replace(/[!'()*]/g, (c) => { return '%' + c.charCodeAt(0).toString(16).toUpperCase() - }) + }) + '?fileId=' + fileId // simply get rid of brackets to make sure link text is valid // as it does not need to be unique and matching the real file name const alt = name.replaceAll(/[[\]]/g, '') diff --git a/src/nodes/ImageView.vue b/src/nodes/ImageView.vue index 01f43d4cda4..a6bb72b3c1f 100644 --- a/src/nodes/ImageView.vue +++ b/src/nodes/ImageView.vue @@ -34,17 +34,19 @@