add image export path macro

print-window-tiddler
James Welford Anderson 2015-02-10 05:59:56 +09:00
rodzic 4049affb31
commit 0b68428bc5
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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)) {