tiddlywiki.files might do the 
trick: https://tiddlywiki.com/#tiddlywiki.files%20Files

I use them to load files from a subfolder of the wiki tiddlers folder. I do 
believe you could have a tiddlywiki.files file in a subfolder of tiddlers 
that then uses relative paths to files outside that the tiddlers directory.

Also note that if you create a files folder parallel to the tiddlers 
folder, any files in that files folder will be served by the integrated 
static file server at the path /files/<uri-encoded-filename>
See https://tiddlywiki.com/#Using%20the%20integrated%20static%20file%20server


On Tuesday, August 10, 2021 at 5:01:37 PM UTC+2 cj.v...@gmail.com wrote:

> As I play around with TiddlyWiki on node.js, I had a thought ...
>
> Say I have a folder somewhere with all of my camera pictures, and I want a 
> particular file to be included in a TiddlyWiki, I'm thinking it would be 
> pretty nice to add that to my tiddlywiki.info file, something like:
>
> "includeFiles": [
>     {"file": "home/picture/my_dog.jpg",
>      "file": "home/documents/my_dog_pedigree.pdf"}
> ]
>
> It would probably make more sense to have a file server for the files when 
> dealing with a lot of files being included in a lot of TiddlyWikis, but I 
> wonder if this kind of "includeFiles" thing would be useful in certain 
> circumstances.
>
> Or is there already a mechanism for doing this kind of thing? 
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/675870e2-d710-4c61-8b24-995700326786n%40googlegroups.com.

Reply via email to