Open Patrockanite opened 3 years ago
This is a good question and something I was thinking of working this after figuring out how to make use of or create a portable document format that could self-contain images.
The limiting factor here is that because Imaginary Teleprompter is a web page, relative paths will always be relative to the path in the current page's URL, which would be teleprompter.html
while prompting and editor.html
(in the beta-v branch) or index.html
(on all other branches) while editing.
To force a different working directory using Javascript is a bad idea because it would likely break inter-process-communication that exists between the editor and the in-line prompter, which are held together by an iFrame. The best solution, in my opinion, would be to use a self contained file format to store the images and copy them to a temporary directory for use inside the program while loading the document.
Hi, is there a possibility to insert images by setting a relative path? I can only do this with absolute paths, which causes problems to go to another computer. Thank you