This is an old thread. When it was first started, it wouldn't have been
possible to use node to serve up your images.
Luckily, now you can look at
https://tiddlywiki.com/#Using%20the%20integrated%20static%20file%20server
on details of where to put static files to be served up.
-- Mark
On Friday, February 1, 2019 at 7:19:33 PM UTC-8, Mark Krieg wrote:
>
> This reply was very helpful to me! I was able to get the _canonical_uri
> image tiddler working in TiddlyDesktop, but under Node.js, I don't know
> where I store the images folder. I'm using the server edition on Node.js.
>
> Under TiddlyDesktop I use: TiddlyWikiMedia/IMG_0459.jpg where the folder
> TiddlyWikiMedia is in the same location as my TiddlyWiki.html file.
>
> But under Node.js, where do I place the TiddlyWikiMedia folder so that it
> works with the same reference?
>
> I've tried all sorts of locations and none of them seem to work.
>
> I hope that explanation makes sense!
>
> Every blessing!
>
> Mark
>
>
>
> On Thursday, September 25, 2014 at 3:21:19 AM UTC-4, Jeremy Ruston wrote:
>>
>> Hi aamaadmi
>>
>> > what is _canonical_uri
>>
>> It lets you wrap an external tiddler into a tiddler so that you can refer
>> to it more easily.
>>
>> For example, create a tiddler titled "MyImage" with the type "image/jpeg"
>> and the "_canonical_uri" field set to "images\anatomy.jpg". Then you can
>> embed it as an image with `[img[MyImage]]` or `{{MyImage}}`. The advantage
>> of using it is that you can subsequently change the URL of the image just
>> by changing it in a single place.
>>
>> Best wishes
>>
>> Jeremy
>>
>>
>> On Wed, Sep 24, 2014 at 9:41 PM, aamaadmi wrote:
>>
>>> thank you andreas, i think 2nd is a good option .
>>>
>>> what is
>>> _canonical_uri
>>>
>>> for ?
>>>
>>>
>>>
>>>
>>> On Thursday, September 25, 2014 1:38:58 AM UTC+5:30, Andreas Hahn wrote:
Notice that the second version is independent of where the TW is
stored,
as long as the tiddlywiki file is next to the image folder.
/Andreas
>>> --
>>> 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.
>>>
>>
>>
>>
>> --
>> Jeremy Ruston
>> mailto:jeremy...@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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/4bb59e7d-87a2-489d-b946-7fb2eebfeeb4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.