I can host images on any free host online like Imgur and then use its link inside a tiddler? Drawback is that image won’t load if I am offline.
On the other hand, I can add image to TW and reference it inside tiddlers. My notes will be self contained. But I am not sure how it will affect the performance of TW.
If it’s not a good idea to add images to TW, then down the road performance hit will become pronounced.
So, people who have been using TiddlyWiki for long, what have been your experience in adding images to TW? What do you recommend?
Thank you @TiddlyTweeter.
Thank you Mark
The compromise is to put the images in a relative position to your TW file (in a subdirectory). Then address the image with a relative path: [img[mypath/myfile.jpg]]. This will work everywhere without bloating your TW.
Please correct me if I am wrong, this means when I am sharing my whole TW or a tiddler with anyone, I will have to ensure my images directory is also shared with them.
Thank you again Mark.
I think I will stick with hosting images on external hosts. There are desktop tools available that upload image on a single click and then paste the direct link of the image to the clipboard.
As for being offline, it happens very rarely.
For now, it seems easier setup than to worry about directories, and making sure when sharing that the zipped directory does not contain images not intended for the other person.
I don’t use Windows much. But I have had good experience with ShareX.
On Mac, I use mac2Imgur.
Here is a list of tools that integrate nicely with imgur.
Finally, there is JumpShare which has cross platform support, and offers much more than image sharing. I stopped using it b/c its free account is limited and Imgur isn’t.
Right, mostly screenshots. I too make each image go through ImageOptim or sometimes change png to low quality jpg before using them.
With the next version of tiddlywiki or a future version of bob there will be a secure online node solution where it should be irrelevant the number and size of images in tiddlers however you will be able to download a single file offline tiddlywiki and this is when the size of the images will matter.
That’d would be interesting. I use tiddlywiki on NodeJS. Would love to get my hands on this feature.
Thank you Mark. I wasn’t aware of this feature. I have switched to lazy loading and hosting images inside TW. Let see how long until TW starts showing signs of stress. :)