mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-25 17:40:29 +00:00
add image export path macro
This commit is contained in:
parent
4049affb31
commit
0b68428bc5
@ -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)) {
|
||||
|
Loading…
Reference in New Issue
Block a user