Canonical_uri is not working

somehow the canonical_uri is not working on my wiki
i try like:

  • Create image tiddlers in your TiddlyWikiFolders in the usual way
  • Save the images as separate files (by convention, in a subfolder named images)
  • Externalise the image tiddlers by giving them a _canonical_uri field
  • Save the main HTML file

https://tiddlywiki.com/#ExternalImages

but the image is not displayed
i see also not the Text
This tiddler shows content stored outside of the main TiddyWiki file...
what may i doing wrong ?
Thanks for help

have to set the type of the tiddler to the correct image type?

have to set the type of the tiddler to the correct image type?

yes

is the url like this:

images/an.img

is this a stand alone tw or are you runing node.js

if you are using node js then the a subdir called ‘files’ not ‘images’ is used

When I’m having this issue I use the browser’s inspect feature to see what url the browser is trying to get the image from. If it’s the correct url, put it in its own tab. From there just troubleshoot because it can be so many things, like file permissions, etc. The browser’s error message on the image in its own tab can be helpful - 404 vs 503, etc.

i tried it in an online and offline wiki… and with the full path of the URL also … the image is not shown

because i don´t even see the text:
This tiddler shows content stored outside of the main TiddyWiki file...
i assume that the function is not somehow right activated

Perhaps share and example image address so others can see if it is valid?

here is a try with an external URL

this should work with this settings?

Your link is wrong. Try this one: https://upload.wikimedia.org/wikipedia/commons/6/6e/TiddlyWiki_5.1.9.png

Save the tiddler and it should work, at least it does for me.

It’s the link that will be created if you click the “original file” link:

… On the other hand, if you hotlinklink a lot of images that way, you should make sure to donate to wikipedia, since you cause traffic on their servers, whenever an image in your wiki is loaded.

The _cannonical_uri tiddler in edit mode should look as shown in the screenshot. You need to make sure, that there is no “real image” created in the wiki, since it may take unnecessary space. So remove your image tiddler if there is one and then create a new one using _canonical_uri

No - my link is OK
but also with
https://upload.wikimedia.org/wikipedia/commons/6/6e/TiddlyWiki_5.1.9.png
the images does not load into my wiki

this is just an example for an external URL … finally i want to use Canonical_uri for linking images near by the sever where the wiki is stored… but this does also not work right now for my wiki

besides that - i contribute regular to wikipedia :slight_smile:

i don´t even see the text:
This tiddler shows content stored outside of the main TiddyWiki file...

That’s strange. I did test it with tiddlywiki.com
So may be one of your plugins may cause some trouble.

that is what i thing also

had a look at tiddlywiki.com

so this all should work without

$:/plugins/tiddlywiki/external-attachments
$:/plugins/sq/ExternalContent

have this installed - but even deleting this does not make a difference

i installed also the “SQ Plugin Library” install option - not sure how to de install this

here is the list on installed addons - which one could be the one which makes “problems” ?
add-ons

In the screenshot it looks as thought perhaps _canonical _uri has a space after the word “canonical” and before the second underscore.

1 Like

YES - without the space it works as expected
Thanks so much … embarrassing for me