On Mar 7, 10:23 pm, Måns <humam...@gmail.com> wrote:
> Hi Mario
> Now I just need a quick way to download all uploaded images as image
> files to a folder specified by the fancyboxPlugin via the
> [[DirectoryConfig]]...
As you uploaded them as binary tiddlers, you should have them in
directories allready. right?

> It should be an optional/automated sideeffect, when downloading the
> space to a local folder....
> Guess that's one of those things I should ask for/request at the
> TiddlyWeb group... - or it might that be too much of a mouthfull??
There have been some posts about how to download binary stuff. But I
don't think, there was a conclusion, how to solve it.

May be some tiddlyweb command line tools could handle this. But I am a
noob using the command line :)

====
I had a short look at your ismer space, and saw some inconsistencies:

you call the fancyBox (FB) macro many times with allmost the same
result. In some cases, there could be some unwanted side effects. I
didn't see any, but may be. Executing unnecessary macros will only
slow down the performance.

eg:
[[Jais Nielsen]]
a) <<tiddler fkunst with:[[Afgang  1918]][[Jais Nielsen Afgang -
1918.jpg]]>>
b) <<tiddler fkunst with:[[Hostpital train]][[Hostpital train.jpg]]>>
c) <<fancyBox>>

and

[[fkunst]]
d) <<fancyBox [[$2]]  label:"$1" button:"$1" picHost:"http://
ismer.tiddlyspace.com/">>

e) <<image [[$2]] 200 label:[[$1]] link:[[http://ismer.tiddlyspace.com/
$2]]>>
f) <<fancyBox>>


---- Some info:
d) .. creates the button. this should be OK. _but_ picHost is absolute
so offline mode will not be possible. You should use "defaults:"
settings instead. If an !Offline sections is defined, FB will use it.
e) .. link: is absolute so FB needs to have online access.
f) .. calls FB. But I am sure it has no wanted effect. --It should be
possible to remove this line, without any loss of functionality-- see
info below.


Line a) calls [[fkunst]] with some params and calls FB at position f).
The FB (f) call without any parameters, just takes the whole content
of the tiddler, and searches for usable <a
href:"http:// ..."><img ...></a> structure and combines it to a
fancybox show. Since the tiddler isn't fully rendered at this time
(line b and c are missing), it doesn't produce anything usefull.

Line b) is the same as a)

Line c) calls FB, which was my intended usecase.
===

Generally speaking:
If <<fancyBox>> is called without any parameters, it should be only
called _once_ per tiddler, otherwise there may be side effects. Line
d) which creates the button (wasn't intended), but should be OK. I'll
have a closer look :)

-m
PS: You should post at TiddlyWeb group about downloading. Since your
usecase is quite interesting. I think it's worth a new discussion!


-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to tiddlywiki@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.

Reply via email to