On 09/08/10 19:02, Fritz Schneider wrote:
Irfanview adds "_t" to the name portion: "P3236699_t.jpg". I am not clear on
what you mean by "processing." I was seeing this as a way to tell the plugin
how to transform a file name into a thumbnail name, so the thumbnail for
P3236699.jpg would be P3236699_t.jpg in the thumbs directory.

How urgent (for you) is this "always ignore thumbnails directories"
feature? I can't tell whether you've changed them all for now, or will
just turn a blind eye to the pointless hyperlinks until the next version
of the plugin.

I can create future thumbnail directories with the dot on the front, so
there is no urgency. Actually, it's a bit more time-consuming to remove the
"-t" so the thumbssfx enhancement would be welcome.

I have just uploaded a new version of the plugin jar (and jspwiki.properties comments) which provides both these requested features. You can now code either or both prefix and suffix for your thumbnails (the built-in defaults are both empty strings). Also, your "non-hidden" thumbnail subdirectories will now be automatically concealed, so you will no longer see hyperlinks to create new wiki pages for them.

By the way, I don't intend producing a way to hide "non hidden"
directories or files. I don't intend writing platform-specific code to
detect the windows hidden attribute, either.
That sounds fine to me. I see your recognition of the leading dot as
platform-specific code. :)

Well... what I mean is that I can detect a linux "hidden file" very simply in java using filename.startsWith('.'). However, if I want to code myFile.isHidden() to detect hidden files on any platform I would have to write my own native method for windows. I'm not interested in that!

Let me know how you get on with the new version.

Brian

Reply via email to