Hi Michele

> 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.
>

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.


> 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...
>

That's correct, the [img[]] syntax was implemented in 5.0.10-beta, released
on April 19th.


> 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.
>

That's correct.


> 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?

Best wishes

Jeremy


>
> 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+unsubscr...@googlegroups.com.
> To post to this group, send email to tiddlywiki@googlegroups.com.
> Visit this group at http://groups.google.com/group/tiddlywiki.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Jeremy Ruston
mailto:jeremy.rus...@gmail.com

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.

Reply via email to