Hi all

Last night I experimented dragging images from my hard drive into a 
TiddlyWiki 5 to see how many I could save before the file crashed or 
started getting sluggish. To my delight I was able to create some huge 
files by image topic (the largest one is 86MB) without the file crashing 
(though they did get more sluggish past the 50MB mark or so). I was 
actually dragging 25 photos at a time from Windows into my TWs and then 
saving them after they appeared in the TW.

I added a StyleSheet that widens the tiddlers to accomodate larger photos 
on my wide laptop screen. On the iPad the tiddlers are reduced down to fit 
the screen, but they slightly overlap the sidebar.

This morning Jeremy gave me a snippet of code (sorry for my lack of more 
precise terminology) that allowed me to create galleries of photos based on 
tiddlers tagged with a certain tag. So this morning I went and tagged all 
the photos in one of the files I created last night, and you can see the 
results here: http://www.giffmex.org/experiments/animals.htm. This file is 
almost 20MB, so be patient as it loads, though it loads pretty quickly.

Things to note for those of you who want to try this:
1. I did this in FireFox with the TiddlyFox addon installed.
2. Dragging images from your hard drive to a TW5 file saves them as 
tiddlers with the image title as the tiddler title.
3. You need to drop your images into the story river area on top of an open 
tiddler. The open tiddler will not be affected. But dragging them into an 
empty story river will take you out of your TiddlyWiki and will open the 
images separately.
4. I got jpegs, gifs (including animated gifs) and pngs to work fine. bmp 
files and xcf files created monster tiddlers of gobbledygook that made 
everything come to a halt for several minutes.
5. For transferring large batches of images I recommend the following: Have 
your tabs open to Open. Drag 20 images or so into the TW. When the tiddlers 
are populated, click save. When the Wiki saved popup appears, refresh your 
browser so that the Open tab is now empty except for your default tiddler. 
Using your Open tab and refreshing each time lets you see when the new 
tiddlers are finished when you drag them.
6. Don't forget to save before refreshing so you don't lose anything.
7. Tagging tiddlers as you add them a few at a time is slow going, but 
still more enjoyable than going back and tagging the entire list of photos 
one by one after the fact.
8. Edit the Birds tiddler in the link above to see the code needed to 
create a gallery.
9. Dragging images from the web into TW5 currently will not add the images. 
It will only add a link. You can get around this quickly by dragging the 
image from the web to your desktop, and then dragging the image from your 
desktop to the TiddlyWiki.
10. If you want to embed an image link (similar to [img[]] ) in TiddlyWiki 
classic, here is an example of what to paste: <img 
src="http://www.website.com/image.gif";>
11. If you want to embed a video or iFrame, just add the embed code, but 
don't add html tags as you would in classic.
12. I am guessing that after passing 100MB, TW5 files will be too sluggish 
for most people to want to use. But under that amount, it really doesn't 
lag too much. Try opening my 86MB file at 
http://www.giffmex.org/experiments/illustration.htm

Enjoy,

Dave

-- 
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/groups/opt_out.


Reply via email to