On Saturday, September 27, 2014 9:18:36 AM UTC+2, Jeremy Ruston wrote: > > > The only problem I've had so far were with externalized tiddlers of type > "application/pdf", where the field "_canonical_uri" contained an absolute > path to a pdf file; for those tiddlers, the pdf is no longer displayed in a > frame, as it did before. Imported pdfs show just fine. > > You should be able to reference the PDFs via a file URI even from a > TiddlyWiki that is served over HTTP from the server edition. The "same > origin policy" doesn't apply to the `<img>` or `<embed>` elements. What do > the URIs in the _canonical_uri field look like? They should be absolute > URIs that include the "file://" protocol identifier. > > Best wishes > > Jeremy > > I am getting security exceptions when using node.js with firefox or chrome on ubuntu 12.04: with a tiddly containing
<img src ="file:///media/3497f82e-3b95-41de-90af-df905eceeab4/data/radice/firefoxextension/Tw516/plugins/jermolene.github.com/images/map1.png"/> I get Security Error: Content at http://127.0.0.1:8086/ may not load or link to file:///media/3497f82e-3b95-41de-90af-df905eceeab4/data/radice/firefoxextension/Tw516/plugins/jermolene.github.com/images/map1.png. BJ > > On Fri, Sep 26, 2014 at 9:39 PM, PMario <[email protected] <javascript:>> > wrote: > >> On Friday, September 26, 2014 10:27:10 PM UTC+2, PMario wrote: >>> >>> I'm not sure, if it works with the server too. ... So you'll need to >>> test it. All your tiddlers that are tagged "external-image" will get a >>> field _canonical_uri rendered with the >>> "$:/core/templates/canonical-uri-external-image" >>> template. >>> >>> https://github.com/Jermolene/TiddlyWiki5/blob/master/core/ >>> templates/canonical-uri-external-image.tid >>> >> >> I did a test. ... The server actually included the images. so it won't >> work that way. >> >> BJs concern is right. If you want to run TW server and get static image >> files, you'll need to run a real server in front of TW, which lets you load >> the static content. >> -m >> >> -- >> 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 [email protected] <javascript:>. >> To post to this group, send email to [email protected] >> <javascript:>. >> Visit this group at http://groups.google.com/group/tiddlywiki. >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > Jeremy Ruston > mailto:[email protected] <javascript:> > -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.

