[tw] Re: Syntax for PhotoGalleryPlugin

2011-04-27 Thread Tobias Beer
I liked Tobias' suggestion to avoid the additional tiddler but changed it a bit. Just so that I get it right as I haven't seen parameters being used this way... What you want people to do is to put all named parameters on the first line, including the newly added sequence indicator (!) and then

[tw] Re: Syntax for PhotoGalleryPlugin

2011-04-27 Thread Paulo Soares
That's right. -- Paulo Soares On 27 Abr, 12:48, Tobias Beer beertob...@googlemail.com wrote: I liked Tobias' suggestion to avoid the additional tiddler but changed it a bit. Just so that I get it right as I haven't seen parameters being used this way... What you want people to do is to put

[tw] Re: Syntax for PhotoGalleryPlugin

2011-04-26 Thread Paulo Soares
I liked Tobias' suggestion to avoid the additional tiddler but changed it a bit. So,now the syntax is: photoGallery sequence:! photos/lisboa-1.jpg photos/lisboa-2.jpg photos/lisboa-3.jpg photos/lisboa-4.jpg or, equivalently, photoGallery url:photos/* sequence:! lisboa-1.jpg lisboa-2.jpg

[tw] Re: Syntax for PhotoGalleryPlugin

2011-04-21 Thread Tobias Beer
A possible solution could be to provide a tiddler containing a list of filenames to be used by the plugin as an alternative to the current simple replacement rule. Would this work for you? Why not put the names right into the macro call, rather than have an additional tiddler providing the

[tw] Re: Syntax for PhotoGalleryPlugin

2011-04-20 Thread Paulo Soares
I don't know if that can be done at all because, by design, Javascript has strong limitations regarding file system access. A possible solution could be to provide a tiddler containing a list of filenames to be used by the plugin as an alternative to the current simple replacement rule. Would this

[tw] Re: Syntax for PhotoGalleryPlugin

2011-04-20 Thread TonG
Hi Paolo Julien, Searching for other solutions, I came across QuoteOfTheDayPlugin from TiddlyTools [1], [2] with the following syntax: QOTD tiddlername norandom noclick inline cookie:cookiename delay If tiddlername does not exist as a tiddler, it searches for a local directory name as can be

[tw] Re: Syntax for PhotoGalleryPlugin

2011-04-20 Thread Paulo Soares
Yes, I should have been more precise. I should have said that it can't be done in a browser independent way. Eric's code is for IE and Firefox only and I prefer to avoid this kind of partial solutions that depend on browsers' manufacturers policies about security. Still, the tiddler list of

[tw] Re: Syntax for PhotoGalleryPlugin

2011-04-20 Thread TonG
Hi Paolo, If you can do that ... that would be nice. Regards, Ton On Apr 20, 3:22 pm, Paulo Soares psoares...@gmail.com wrote: Yes, I should have been more precise. I should have said that it can't be done in a browser independent way. Eric's code is for IE and Firefox only and I prefer to

[tw] Re: Syntax for PhotoGalleryPlugin

2011-04-20 Thread Paulo Soares
It's done. -- Paulo Soares On 20 Abr, 14:30, TonG ton.ger...@gmail.com wrote: Hi Paolo, If you can do that ... that would be nice. Regards, Ton On Apr 20, 3:22 pm, Paulo Soares psoares...@gmail.com wrote: Yes, I should have been more precise. I should have said that it can't

[tw] Re: Syntax for PhotoGalleryPlugin

2011-04-20 Thread TonG
Hi Paulo, Yes, It works and is an easy workaround. Thanks, Ton On Apr 20, 9:02 pm, Paulo Soares psoares...@gmail.com wrote: It's done. -- Paulo Soares On 20 Abr, 14:30, TonG ton.ger...@gmail.com wrote: Hi Paolo, If you can do that ... that would be nice. Regards, Ton

[tw] Re: Syntax for PhotoGalleryPlugin

2011-04-19 Thread TonG
Hi, Nobody using the PhotoGalleryPlugin? Or ever tried it? A Minimal Test Case is available at http://dl.dropbox.com/u/2638511/Test_PhotoGalleryPlugin.html Any help appreciated, Ton On Apr 16, 5:54 pm, TonG ton.ger...@gmail.com wrote: Hi, I am trying to use Paulo Soares'

[tw] Re: Syntax for PhotoGalleryPlugin

2011-04-19 Thread Paulo Soares
Hi Ton, how are your pictures named? Are they named 1.jpg to 4.jpg? -- Paulo Soares On 19 Abr, 11:11, TonG ton.ger...@gmail.com wrote: Hi, Nobody using the PhotoGalleryPlugin? Or ever tried it? A Minimal Test Case is available

[tw] Re: Syntax for PhotoGalleryPlugin

2011-04-19 Thread TonG
Hi Paulo, My pictures are named: 1881_origineel_toilet.jpg 1900_ca_kaartje_Sigarenfabriek_Bout.jpg 2008_Het_Witte_Huis.jpg 2008_Marnix_van_St_Aldegondeschool_fontein2.jpg All pictures I want to show start with year and a short description is following. Therefor I tried *.jpg. Ton On Apr 19,

[tw] Re: Syntax for PhotoGalleryPlugin

2011-04-19 Thread Paulo Soares
That's it. In the plugin, the * is used as a restricted wildcard that is simply replaced be numbers in the range indicated by the 'sequence' parameter. So, in one of your examples, photoGallery url:*.jpg sequence:'1-4' height:200 time:2000 labels:SubTitles numbers start:5000 the plugin will look

[tw] Re: Syntax for PhotoGalleryPlugin

2011-04-19 Thread TonG
Hi Paolo, Thanks for the explanation; I did not think of that (* as a restricted wildcard). Unfortunately renaming is not an option for me since the photos are also used inside tiddlers, so I have to adjust these tiddlers as well and I'am talking about 1200+ photos! I'am describing the history

[tw] Re: Syntax for PhotoGalleryPlugin

2011-04-19 Thread julien23
I am interested too... and my need is closed to Ton's need I wish I could have a photoGallery of all images below tw.html or attached in tw.html Thanks to contribute with any solution... On Apr 19, 3:56 pm, Paulo Soares psoares...@gmail.com wrote: That's it. In the plugin, the * is used as a