I am a new user of TW5 on node.js (I am new to tiddlywiki in general) and I would like to display images in the wiki, directly and not as trasclusions, using the [img[path/to/folder/imagefile.jpg]] syntax. I read in the roadmap http://tiddlywiki.com/static/RoadMap.html that [img[url]] has been implemented, but there is no mentioning of files in the local filesystem. In TW5 standalone, the standard syntax [img[relative/path/to/folder/imagefile.jpg]] works. I have also read that node.js has full access to the filesystem, so it doesn't obey the same security restrictions as Javascript in the browser.
I am not sure this is the relevant commit, but the manual seems to be clear about it: https://github.com/Jermolene/TiddlyWiki5/blob/master/editions/tw5.com/tiddlers/wikitext/Images%20in%20WikiText.tid so this exchange https://groups.google.com/d/msg/tiddlywiki/u0pcaOIOdA4/9CesEgAHq7UJ does not seem to be valid anymore...
And finally <img src=...> also does not seem to be an option https://groups.google.com/d/msg/tiddlywiki/dIrdnKRfmj8/XQ94kJm5NIkJ unless images are served from http as well.
By the way for me also the link syntax <a href="file:///home/michele/imagefile.jpg">image</a> is not working for me (see https://groups.google.com/d/msg/tiddlywiki/EmJFLV1XAD0/ZL7_W8Jsa18J)
--Thank you,michele
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+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.
The problem here is that the TW5 server components cannot (yet) serve individual image tiddlers over HTTP. ie, you can't display the image tiddler "myimage.jpg" by visiting http://127.0.0.1/tiddlers/myimage.jpg.
By the way for me also the link syntax <a href="file:///home/michele/imagefile.jpg">image</a> is not working for me (see https://groups.google.com/d/msg/tiddlywiki/EmJFLV1XAD0/ZL7_W8Jsa18J)Does it work if you link to a http:// website?
I take it that "(yet)" means there is the plan to support it in the future. Will it be near future? Will the syntax be [img[path/to/local/file]]?
By the way for me also the link syntax <a href="file:///home/michele/imagefile.jpg">image</a> is not working for me (see https://groups.google.com/d/msg/tiddlywiki/EmJFLV1XAD0/ZL7_W8Jsa18J)Does it work if you link to a http:// website?Yes, <a href="http://...">link</a> works on 5.0.12 for me.Best regards,michele
--
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+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.
Any update on this? What would be the current best way to manage images in a nodejs TW? Thanks!
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/66026372-e24c-488d-b7d3-b8dc8b9b13d4%40googlegroups.com.