[Images Collection] Possibility to store images and feasible ways to do so.

88 views
Skip to first unread message

Prestige

unread,
Aug 4, 2020, 1:03:05 AM8/4/20
to TiddlyWiki
Hello everyone,

I was hoping to check if I can add image snippets from my own handwritten short notes into tiddlers. To organise them according to topics and tags, and maybe create a map. Only Concern is if I will be able to keep the size manageable. Is there a way to implement this without getting TW very very heavy?

Maybe Gdrive integration....I am still in the thinking phase. Can someone share their idea?

Point is to link my rather scattered hand written notes. They contain Crude diagrams too that’s why it will be easier to keep them as they are rather than type them out again.

I hope I am clear. Let’s have a discussion maybe?

Regards,
Prestige

PMario

unread,
Aug 4, 2020, 5:37:30 AM8/4/20
to TiddlyWiki
Hi,


If you have many images and / or they are big 100kByte+ you should keep them in a subdirectory and ship the wiki with the directory.  TW allows relative links, which also work well from a "file" TW. A "file" TW is a wiki that is on your local drive and you start if from there.

If you use the _canonical_uri field, the tiddler contains meta data only, but if you transclude it, or use it with an [img[link]] the system will treat it, as if it is an image.

eg: You can have a note-1.png in a directory eg: images

your Tiddler would look like this

title: note-1.png
_canonical_uri: ./images/notes-1.png
type: image/png

If it is a jpg it would be

title: note-1.jpg
_canonical_uri: ./images/notes-1.jpg
type: image/jpg

Image types that are part of TW are: jpg, gif, png, ico and svg. SVG is a vector graphic format and the others pixel graphics.

So the tiddler note-1.png only needs some bytes in the wiki. If it is shown, TW dynamically loads the content form the harddis.

have fun!
mario

Prestige

unread,
Aug 4, 2020, 9:47:19 AM8/4/20
to TiddlyWiki
Hey Mario,
Thanks for replying :)

I read the link there, I am not very fluent with a lot of things there. e.g I am not using Node.js and I can't devote time setting it up right now either. I am using TiddlySpot to host my TW and I haven't found a way to create a folder on the server. I mean, I think it only saves the changes to the TW html (that too I think saving the whole TW again and again, not even just updation). So, can you please guide me how to set up this kind of a thing there using TiddlySpot?

Or is there a better way to use or host my TW altogether.?

Regards
Prestige

PMario

unread,
Aug 4, 2020, 10:47:21 AM8/4/20
to TiddlyWiki
On Tuesday, August 4, 2020 at 3:47:19 PM UTC+2, Prestige wrote:
...
I read the link there, I am not very fluent with a lot of things there. e.g I am not using Node.js and I can't devote time setting it up right now either.

There is no need to use the  node version.
 
I am using TiddlySpot to host my TW and I haven't found a way to create a folder on the server. I mean, I think it only saves the changes to the TW html (that too I think saving the whole TW again and again, not even just updation). So, can you please guide me how to set up this kind of a thing there using TiddlySpot?

That's not possible. TiddlySpot is a free service that allows us to upload single file wikis. It's not a file server, where you can store your images for free. It's not meant to be used that way.
 
Or is there a better way to use or host my TW altogether.?

You would need a hosting provider, that allows you to upload files and images. In this scenario the wiki may be index.html and images can land in their own folder.

I personally use a completely different approach with github. ... But github pages are only available, if you have publich wikis. If you need private wikis, that won't work with the free version.

-mario
Reply all
Reply to author
Forward
0 new messages