mirror of
https://github.com/publiclab/image-sequencer.git
synced 2025-12-16 13:20:01 +01:00
Fix import image (#282)
* fix default image path Signed-off-by: tech4GT <varun.gupta1798@gmail.com> * fix importImage to take proper input Signed-off-by: tech4GT <varun.gupta1798@gmail.com>
This commit is contained in:
committed by
Jeffrey Warren
parent
37122d4c28
commit
2b07ecdb36
@@ -9,7 +9,7 @@
|
||||
module.exports = function ImportImageModule(options, UI) {
|
||||
|
||||
options = options || {};
|
||||
options.imageUrl = options.imageUrl || "/examples/images/monarch.png";
|
||||
options.imageUrl = options.url || "/examples/images/monarch.png";
|
||||
|
||||
var output,
|
||||
imgObj = new Image();
|
||||
|
||||
Reference in New Issue
Block a user