I had to add the fileURLPrefix (undocumented) before it would work. Having to serve images from one location is a bit limiting, when you may have Wikis in multiple locations.
Thanks -- Mark On Thursday, October 25, 2018 at 2:22:19 AM UTC-7, Jed Carty wrote: > > Mark, > > I am not sure what you mean by 'at the top' and 'at the bottom', but there > is a known bug with the port numbers that can happen when you allow it to > auto-increment ports https://github.com/OokTech/TW5-Bob/issues/24 > > To make images serve you have to set the filePathRoot which is the root > path served by the static file server. The default mime is listed in the > serving files documentation > https://github.com/OokTech/TW5-Bob/blob/master/Documentation/Serving%20Files.tid > > but that was just updated to fix some errors, it had an incomplete listing > for the mimeMap and it said the default url prefix was file instead of > files. > > And if there isn't a filePathRoot entry than serving files doesn't work, > it has to be enabled by setting a filePathRoot. > > I have no idea what 'virtual addresses' are supposed to be, the files are > served in the normal way by a webserver. > > Here are the steps that I just did to make the file server work: > > 1) Download BobEXE for your system (or set up the plugin version, it makes > no difference but this is faster for testing) > 2) Start it and open up the root wiki > 3) Go to the $:/ControlPanel > 4) Go to the Bob Settings tab in the control panel > 5) Go to the Manual Settings tab in the Bob Settings tab > 6) At the bottom of where the settings are listed click the last + button, > name the key (the smaller text entry field) filePathRoot and give it the > value (the longer text entry field) that is where you have the files you > want to serve (in my case /home/inmysocks/pictures) > 7) Click the check button under the text entry fields > 8) Click the Update Settings button > 9) Under the Server Actions tab click Shutdown Wiki > 10) Restart the wiki > 11) Make a new tiddler and put in [img[./files/01.jpg]] (assuming you have > a picture called 01.jpg in the folder listed in the filePathRoot) > > it does look like there is a bug here where if you do something that saves > the manual settings again it may stop serving files until the server is > restarted again. > -- 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 tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. 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/709aa2cb-4fc4-458a-91f3-2e049d0a38c9%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.