On Monday, March 30, 2015 at 12:31:39 PM UTC-7, Jed Carty wrote:
>
> There are two ways, one is to make the image part of the tiddlywiki html 
> file, which can slow down loading if there are too many. If you are always 
> going to have access to the local file system (either on the same computer 
> or through some service like dropbox) you can link to a local copy of the 
> image.
>

Here's how I do *both* embedded and local images... without any need for 
setting "_canonical_uri":

1) place your image files in a local sub-folder called "images/"
2) drag and drop the files into your TiddlyWiki to make base64-encoded 
binary tiddlers (the image filenames will be the tiddler titles)
3) rename each binary tiddler to add "images/" to the beginning of each 
title
4) use "[img[images/filename.ext]]" syntax to embed the images in your 
content

Because the images are stored as tiddlers, the [img[images/...]] syntax 
will display the internal base64-encoded images.  However, if the document 
starts to get too big, you can always just *delete* some or all of the 
images tiddlers... the embedded [img[images/...]] will then simply use the 
external, local image files instead, without having to change your content.

Note that the "images/" prefix on the tiddler names is simply to allow you 
to keep the images in a subfolder.  If you keep your images in the same 
folder as your TiddlyWiki document, then you can drag and drop the images, 
skip the renaming, and just use "[img[filename.ext]]" to embed them in your 
content.

enjoy,
-e
Eric Shulman
TiddlyTools / ELS Design Studios

"Inside TiddlyWiki: The Missing Manual"
https://www.indiegogo.com/projects/inside-tiddlywiki-the-missing-manual/x/8816263
Note: the IndieGogo funding campaign has ended,
but direct fundraising continues below...

YOUR DONATIONS ARE VERY IMPORTANT!
HELP ME TO HELP YOU - MAKE A CONTRIBUTION TO MY "TIP JAR"...
   http://TiddlyTools.github.com/fundraising.html#MakeADonation

Professional TiddlyWiki Consulting Services...
Analysis, Design, and Custom Solutions:
   http://www.TiddlyTools.com/#Contact

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/845ca45f-b63d-4b30-b57a-38f4bb5c6a0e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to