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 > > 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 filenames should be easy to implement. > > > -- > > Paulo Soares > > > On 20 Abr, 11:45, TonG <ton.ger...@gmail.com> wrote: > > > > 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 read from the revisions: > > > 2008.01.16 1.4.0 support using a local image file directory instead of > > > tiddler name for getting list of items. If specified tiddler does not > > > exist in the document, macro attempts to use tiddlername as a local > > > directory name (using either absolute or relative path) and get list > > > of all JPG/GIF/PNG files. > > > > And, indeed it does show the photos in the local directory (even, in > > > my case of 1200+ photos). > > > But, it shows all photos in the original size; there is no way to > > > "size" the images. > > > To me, a combination of both plugins should be ideal. > > > No idea if this is difficult to achieve. > > > > Regards, > > > > Ton > > > > [1]http://www.TiddlyTools.com/#QuoteOfTheDayPlugin > > > [2]http://www.TiddlyTools.com/#QuoteOfTheDayPluginInfo > > > > On Apr 20, 12:25 pm, Paulo Soares <psoares...@gmail.com> wrote: > > > > > 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 work for you? > > > > > -- > > > > Paulo Soares > > > > > On 19 Abr, 16:53, julien23 <jbouc...@capsule-ea.fr> wrote: > > > > > > 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 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 for the files 1.jpg to 4.jpg > > > > > > > In my example > > > > > > > <<photoGallery url:photos/lisboa-*.jpg sequence:'1-4' height:200 > > > > > > time: > > > > > > 2000 labels:SubTitles numbers start:5000>> > > > > > > > the files are named lisboa-1.jpg to lisboa-4.jpg. > > > > > > > This was a simple solution that I've found flexible enough. I > > > > > > suggest > > > > > > you to find some automated way to rename your files. > > > > > > > Cheers, > > > > > > -- > > > > > > Paulo Soares > > > > > > > On 19 Abr, 12:36, TonG <ton.ger...@gmail.com> wrote: > > > > > > > > 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, 1:12 pm, Paulo Soares <psoares...@gmail.com> wrote: > > > > > > > > > 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 > > > > > > > > > athttp://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' PhotoGalleryPlugin [1] but > > > > > > > > > > can't get > > > > > > > > > > it to work. > > > > > > > > > > The syntax for using it is not clear to me. > > > > > > > > > > The example "Lisboa" [2] uses: > > > > > > > > > > > <<photoGallery url:photos/lisboa-*.jpg sequence:'1-4' > > > > > > > > > > height:200 time: > > > > > > > > > > 2000 labels:SubTitles numbers start:5000>> > > > > > > > > > > > With my 4 photos in a subfolder "Images" of the folder > > > > > > > > > > wherein TW > > > > > > > > > > resides, I tried: > > > > > > > > > > > <<photoGallery url:Images/*.jpg sequence:'1-4' height:200 > > > > > > > > > > time:2000 > > > > > > > > > > labels:SubTitles numbers start:5000>> > > > > > > > > > > > This did not work. > > > > > > > > > > > With my photos in the same folder as my TW, I tried: > > > > > > > > > > > <<photoGallery url:*.jpg sequence:'1-4' height:200 time:2000 > > > > > > > > > > labels:SubTitles numbers start:5000>> > > > > > > > > > > > but that did not work either. > > > > > > > > > > Since I am not a programmer, looking at the code did not > > > > > > > > > > help. > > > > > > > > > > > I'am using TW v2.6.2, Windows 7, Firefox 4.0 > > > > > > > > > > > Somebody an idea what I'm doing wrong? > > > > > > > > > > > Thanks in advance, > > > > > > > > > > > Ton > > > > > > > > > > > [1]http://www.math.ist.utl.pt/~psoares/addons.html#PhotoGalleryPlugin > > > > > > > > > > [2]http://www.math.ist.utl.pt/~psoares/addons.html#Lisboa
-- 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.