Re: [tw5] batch import/load images without filepath in title

2020-03-09 Thread Mohammad
Yes, This works for single files or static server! but on Node.js it does not work! Thank you anyway! I think there is something wrong with prefix! --Mohammad On Monday, March 9, 2020 at 1:59:29 PM UTC+3:30, Saq Imtiaz wrote: > > Try placing your files in a "files" subfolder of the wiki folder.

Re: [tw5] batch import/load images without filepath in title

2020-03-09 Thread Donald Coates
So the server can serve static files?! Thank you for clarifying that. On Monday, March 9, 2020 at 6:29:29 AM UTC-4, Saq Imtiaz wrote: > > Try placing your files in a "files" subfolder of the wiki folder. > > "Any files in the subfolder files of the wiki folder will be available > via the route

Re: [tw5] batch import/load images without filepath in title

2020-03-09 Thread Saq Imtiaz
Try placing your files in a "files" subfolder of the wiki folder. "Any files in the subfolder files of the wiki folder will be available via the route \files\. For example: http://127.0.0.1:8080/files/Motovun%20Jack.jpg This can be useful for publishing large files that you don't want to

Re: [tw5] batch import/load images without filepath in title

2020-03-09 Thread Donald Coates
See my answer to Mohammad. On Monday, March 9, 2020 at 5:16:32 AM UTC-4, Atronoush wrote: > > Donald, > > Yes, I am using Node.js on Windows machine. > Tiddlywiki correctly scans the picture folder and create the image > tiddlers with correct name (The same file name as in pictures folder).

Re: [tw5] batch import/load images without filepath in title

2020-03-09 Thread Donald Coates
This is my best guess: The thing to remember is that the tiddlywiki nodejs server does not serve any other file type but tiddlers. If you want to serve any other file type you have to use another server - whether it be something like nginx or Bob's plugin or Arlen's tiddlyserver. What is

Re: [tw5] batch import/load images without filepath in title

2020-03-09 Thread Mohammad
Hi Donald, Thank you! Yes, I also use Tiddlywiki on locale machine using Node.js I see empty PDF tiddlers as explained by Atronoush for his image tiddlers! The address is always created as localhost/pdfs/filename where pdfs come from the prefix I set in tiddlywiki.files --Mohammad On Monday,

Re: [tw5] batch import/load images without filepath in title

2020-03-09 Thread Atronoush
Donald, Yes, I am using Node.js on Windows machine. Tiddlywiki correctly scans the picture folder and create the image tiddlers with correct name (The same file name as in pictures folder). Also when I relocate pictures folder, on wiki startup I get the error complaining Tiddlywiki can not

Re: [tw5] batch import/load images without filepath in title

2020-03-09 Thread Donald Coates
Assuming you are using locally and not from a web server I would assume it is the same answer as above. I always have to fiddle with the canonical uri prefix to get it to point in the correct direction, since the tiddler is really just a placeholder that points the browser to where the file is

Re: [tw5] batch import/load images without filepath in title

2020-03-09 Thread Donald Coates
my use case is a bit different from yours in that I am using nginx to serve the image from a webserver. when you click to open the tiddler I assume there is a 'broken picture' icon. right click on that and look for something like open in a new tab or properties. You want to see where the

Re: [tw5] batch import/load images without filepath in title

2020-03-09 Thread Mohammad
I tried the same example here:https://tiddlywiki.com/prerelease/#tiddlywiki.files%20Files like you I get the pdf tiddlers created but nothing is displayed! Seems something goes wrong! Hope Donald share his finding if he was successful. --Mohammad On Monday, March 9, 2020 at 9:31:35 AM

Re: [tw5] batch import/load images without filepath in title

2020-03-09 Thread Atronoush
Hi Donald, I have the same problem. See my file structure where there few tens of .jpg pictures are loctaed in a folder (picture) in the same folder with mywiki (wiki) -- pictures -- myWIki -- -- tiddlywiki.info -- -- tiddlers -- -- -- images -- -- -- -- tiddlywiki.files ant my

Re: [tw5] batch import/load images without filepath in title

2020-03-08 Thread Donald Coates
Jeremy!! That was the solution Sorry for the exclamations but I have dumped a lot of time obsessively trying to figure this out. It has been constructive playtime I hope because I'm starting to get a sense of just how powerful the server can be beyond just serving the files, but I

Re: [tw5] batch import/load images without filepath in title

2020-03-08 Thread Jeremy Ruston
Hi Donald One way to achieve this would be to move your images folder into your wiki, and then create a tiddlywiki.files file to control how the image files are handled: https://tiddlywiki.com/#tiddlywiki.files%20Files The example there is for

[tw5] batch import/load images without filepath in title

2020-03-07 Thread Donald Coates
I'm beating my head against a wall on this one. I want to move a directory of images into my wiki via the commandline. I know I can download them then drag and drop but I would rather just do it all on the nodejs server. using the load command ends up with a title that includes the entire