diff --git a/src/image/image.js b/src/image/image.js index e07244cea..a3b1fefc0 100644 --- a/src/image/image.js +++ b/src/image/image.js @@ -80,7 +80,9 @@ class Image { } get title() { - return basename(this.path, this.ext) + return this.isRemote ? + this.path.split('/').pop().replace(/\?.*/, '') : + basename(this.path, this.ext) } get checksum() {