mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-26 01:50:28 +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);
|
tiddler = this.wiki.getTiddler(this.imageSource);
|
||||||
if(!tiddler) {
|
if(!tiddler) {
|
||||||
// The source isn't the title of a tiddler, so we'll assume it's a URL
|
// 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 {
|
} else {
|
||||||
// Check if it is an image tiddler
|
// Check if it is an image tiddler
|
||||||
if(this.wiki.isImageTiddler(this.imageSource)) {
|
if(this.wiki.isImageTiddler(this.imageSource)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user