From 0b68428bc5bc6b5625188f91d1ad3df222111e56 Mon Sep 17 00:00:00 2001 From: James Welford Anderson Date: Tue, 10 Feb 2015 05:59:56 +0900 Subject: [PATCH] add image export path macro --- core/modules/widgets/image.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/modules/widgets/image.js b/core/modules/widgets/image.js index afa8b447b..c56726609 100644 --- a/core/modules/widgets/image.js +++ b/core/modules/widgets/image.js @@ -52,7 +52,7 @@ ImageWidget.prototype.render = function(parent,nextSibling) { tiddler = this.wiki.getTiddler(this.imageSource); if(!tiddler) { // The source isn't the title of a tiddler, so we'll assume it's a URL - src = this.imageSource; + src = this.getVariable("tv-get-export-image-link") || this.imageSource; } else { // Check if it is an image tiddler if(this.wiki.isImageTiddler(this.imageSource)) {