TagSpaces is an offline, open source, document manager with tagging support
Save generated thumbnail
Borislav Sapundzhiev26873fbdcb42
diff --git a/data/ext/perspectiveGrid/perspectiveUI.js b/data/ext/perspectiveGrid/perspectiveUI.jsindex 2a7ea7d4f..0625cb859 100644--- a/data/ext/perspectiveGrid/perspectiveUI.js+++ b/data/ext/perspectiveGrid/perspectiveUI.js@@ -8,7 +8,7 @@ define(function(require, exports, module) {console.log("Loading UI for perspectiveDefault");var TSCORE = require("tscore");-+ var TSPRO = require("tspro");var TMB_SIZES = ["200px", "300px", "100px"];var MONTH = ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"];@@ -328,6 +328,9 @@ define(function(require, exports, module) {};img.src = fileURL;}+ if (TSPRO.available) {+ TSPRO.saveThumbnail(fileURL, dataURL);+ }}ExtUI.prototype.disableThumbnails = function() {