So far no luck with filePathRoot, but I'm not sure what section you want it under -- assume it's the wsserver section but I've tried that and a couple others.
Also, with the secondary wikis, I found I had to use double back slashes (\\). But don't know if that is true for this variable. Per your description, the intermediate directory /file/ always appears? Or is that a typo? Will relative paths be available so that you can write [img[./file/my_image.png]] ? Is there just one image directory for one instance of Bob? The various secondary Wikis might be associated with different image files. Thanks! Mark On Tuesday, May 1, 2018 at 10:32:41 AM UTC-7, Jed Carty wrote: > > Oh, sorry I didn't realise I missed your question in the previous post. Or > that I haven't written documentation for this part yet. I will try to get > to that tonight. I am not somewhere I can check to make sure that all of > this is correct, so let me know if it doesn't work. You will have to > restart the server after adding the filePathRoot to settings.json. > > > To server files you add a property to settings.json called 'filePathRoot' > and give it the value that you want for the root folder for the files you > want accessible to the wiki. > > > Something like: > > "filePathRoot": "C:\Users\Mark\WikiFiles" > > and then any files in that folder are served under the > wikiurl/file/filename > > where wikiurl is whatever the url of your root wiki is and filename is the > name of the file you want. > > By default to get a file called foo.jpg that you put in > c:\Users\Mark\WikiFiles on the computer running the server it would be > > localhost:8080/file/foo.jpg > > and you could use that url the same as you would for any other external > image. > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/5b45f302-9e43-49ff-8c3f-ec11933d08b9%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

