external images and external file under nodejs

185 views
Skip to first unread message

stefan infp

unread,
Nov 27, 2016, 11:45:59 AM11/27/16
to TiddlyWiki
I would like to create and display external images and external file (pdf - inside iframe) in Ubuntu. I chosen the right type and created the _canonical_uri field with the filename and path (images/696.jpeg) of the image but it is not displayed. I wonder why? The image is located inside the wiki folder (nodejs) in the images folder. The same with the pdf (i chose HTML markup as type and the _canonical_uri field with the value: file path and pdf file name). Thanks.

Jeremy Ruston

unread,
Nov 27, 2016, 12:02:14 PM11/27/16
to tiddl...@googlegroups.com
Hi Stefan

I would like to create and display external images and external file (pdf - inside iframe) in Ubuntu. I chosen the right type and created the _canonical_uri field with the filename and path (images/696.jpeg) of the image but it is not displayed. I wonder why? The image is located inside the wiki folder (nodejs) in the images folder. The same with the pdf (i chose HTML markup as type and the _canonical_uri field with the value: file path and pdf file name). Thanks.

TiddlyWiki doesn’t currently serve tiddlers as static file attachments. See this issue for the background:


Best wishes

Jeremy.



--
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/99c304df-994e-4c1d-96c0-fca87a4213f5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

stefan infp

unread,
Nov 27, 2016, 12:20:40 PM11/27/16
to TiddlyWiki
That is sad, i hoped I can finally build my database in TW5. Thanks for the answer.

Jeremy Ruston

unread,
Nov 27, 2016, 12:24:39 PM11/27/16
to tiddl...@googlegroups.com
Hi Stefan

That is sad, i hoped I can finally build my database in TW5. Thanks for the answer.

You should still be able to use external images with TW5 under Node.js. You can either keep your PDFs in a separate folder and refer to them via a file:// URI in your _canonical_uri field, or keep the PDFs under a separate web server (eg https://www.npmjs.com/package/http-server).

Best wishes

Jeremy

pdie...@gmail.com

unread,
Aug 6, 2018, 8:15:52 AM8/6/18
to TiddlyWiki
Hello Jeremy,
could you please give a more detailed example on how to access PDF files within a nodejs driven tiddlywiki.

I tried several solutions from the tiddlywiki help and tiddlers but I didn't manage link to an pdf file in my wiki.
In the standalone HTML file I can use [[Book|file:\\\c:\tmp\book.pdf]]

Thanks a lot,
best regards
Peter
Reply all
Reply to author
Forward
0 new messages