I've testet the code in the viewtemplate. It doesn't work there...
I will try to make a formtemplate instead..

On May 9, 9:39 pm, Måns <[email protected]> wrote:
> TiddlyLightBoxPlugin is a very nice 
> plugin.http://tw.lewcid.org/#TiddlyLightBoxDocs
> I'm also using Eric Shulmans 
> ResizeImagePluginhttp://www.tiddlytools.com/#ImageSizePlugin
> - It's very cool too!! - and I'm trying to combine the two somehow.
> I've made this so far:
> <<wikify [img(182px+,)[%1|%0][%0]] im...@here ti...@here>><<imagebox
> {{tiddler.title}} 400 600>>.
>
> It works very well. I can scale a picture with my left button, and
> when I let i go it opens a lightbox. It doesn't open the lightbox if I
> use the right mousebutton - so it's pretty usable as it is.
> Just one thing is annoying me - I can't get the image in the lightbox
> to understand auto for neither height nor with - and I have to let it
> distort the picture :-(
>
> My first question is:
> How do I put these two macros into my viewtemplate? As I understand
> the <<imagebox-macro needs to "see" the imagesyntax ... I will try
> like this:
> <span class macro='wikify [img(182px+,)[%1|%0][%0]] im...@here
> ti...@here'></span><span class macro='imagebox {{tiddler.title}} 400
> 600'></span>
>
> My second question is regarding the <<tiddlerbox-macro.
> I'd like it to "understand" how to open a tiddler which has the same
> name as this tiddler + a suffix.(-note)
> <<tiddlerbox "note" "[[%0-note]] ti...@here" "somelightboxtext!" 300
> 500>>
>
> Can someone tell me the right syntax for this?
>
> YS Måns Mårtensson
--~--~---------~--~----~------------~-------~--~----~
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