On Feb 14, 2:24 pm, Tobias Beer <[email protected]> wrote:
> Great job, Mario, as for the revamped "About" tiddler! ...it now gives
> just the right impression as for a start page. :)
And it discovers some bugs too :)

> I think an additional table would be nice, listing the available macro
> parameters and their general idea / application, rather than deriving
> that from detailed example desciptions, e.g.:
>
> | !Parameter | !Description | !Default |h
> | defaults|...|...|
> | fancy| ... |...|
> | thumbhost|...|...|
> | pichost|...|...|
I think I'll implement this one into the FancyBoxPluginInfo (ToDo)
tiddler. But some of them seem to be redundant at the moment.

> To what extend does FancyBoxPlugin require a certain image path
> configuration ...or can that be (more or less tediously) implemented
> any way one wants? ...
The fancybox library want's a special HTML format,

<a href=" -- picHost -- 02.jpg" rel="" class="imageLink" title="">
  <img src="-- thumbHost.. 02.jpg" alt="" title="">
</a>

[img[label|01.jpg|http://example.com/01.jpg]] exacty produces the
desired html code. So fancybox library can handle it without much
tweaking inside FancyBoxPlugin.

but eg:
<<fancyBox tag:panorama>> needs to produce a structure, that the
library can handle. But it doesn't know anything, except the names of
the tiddlers.

If you have eg: 01.jpg & 11.jpg tagged panorama,

step 1)
FancyBoxPlugin looks for
  thumbHost
  picHost
If they are set, it uses them, to produce the above structure.

step 2)
If the browser URL starts with "file:" it looks for a !Offline section
of the default: setting
If there is one it uses it.

-- this behaviour works for an online and an offline TW. Without any
third party plugin.

but
step 3)
If the above settings are absent, it looks if
AttachFilePluginFormatters is installed.
If so, FancyBoxPlugin checks if the pics are tagged "attachment"
If so, it reads the !slide section from the tiddlers
And asks AttachFilePluginFormatter for both URIs
If AttachFilePluginFormatter finds something the plugin uses it.
If it doesn't it gives back the "naked" picture names
01.jpg & 11.jpg.

Which will be used, to produce the the structure.
If the thumbs are in the same directory, as the html file they will be
used by the library. It may be not the desired result, but it displays
something.

(I think I should include this in the fallback description)

> ... I guess, that's a question that might already be
> answered in the context of the above table. Of course, I have read
> your link [4] above, but it didn't quite explicitly explain how those
> considerations apply with respect to FancyBoxPlugin.
>
> Cheers, Tobias.
As you suggested, some info about hidden sections would be nice :)
You are a member now. You know :))

-m

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

Reply via email to