good goddess my ability to overcomplicate is as frightening as it is
ridiculous.
The way to do this is to just put all the images in the directory that
nginx will be pointing to, lets say images. Then create a directory in the
tiddler directory called loadfiles and put the following tiddlywiki.files
in it:
{
"directories": [
{
"path": "./",
"filesRegExp": "^.*\\.(jpg|png|jpeg)$",
"isTiddlerFile": false,
"fields": {
"title": {"source": "filename"},
"type": "image/jpeg",
"_canonical_uri": {"source": "filename", "prefix": "images/"}
}
]
}
When you start/restart the wiki it will build a reference to this directory
and point the browser to it with the canonical uri. No need for all those
extra steps.
--
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 view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/95b8bd08-d1c2-4fce-a5b8-efbd6818f445%40googlegroups.com.