From 82345b92bb463574c60ac6a02abcb8f2d52faa23 Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Thu, 30 Sep 2021 16:29:59 -0400 Subject: [PATCH] Temporarily set the face URLs to the locally exported image files --- resources/TTSDeck.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/resources/TTSDeck.js b/resources/TTSDeck.js index 6e9a39c..a9aacee 100644 --- a/resources/TTSDeck.js +++ b/resources/TTSDeck.js @@ -106,8 +106,9 @@ function TTSDeckPage(busy_props, page_num, page_cards, copies_list) { println("End of Row ", row); } - // TODO - this.face_url = "TODO"; + // TODO: this should either prompt the user or provde automatic uploading somewhere + this.face_url = String((new File(page_cards[0].parent.file, + page_cards[0].parent.getName() + '_' + page_num + '.' + FORMAT)).toPath().toUri()); this.back_url = "TODO"; }