Search found 52 matches

by dstonek
Thu Oct 02, 2008 12:20 am
Forum: JFileUpload
Topic: White list question
Replies: 10
Views: 22869

Re: White list question

At this time I think I only need a template to remove '/' and '\' from filenames
Thank you
by dstonek
Wed Oct 01, 2008 10:04 pm
Forum: JFileUpload
Topic: White list question
Replies: 10
Views: 22869

Re: White list question

cañón -> ca__n would be not a good idea for the users. I really don't care about that list performed from the applet. I have a php function that changes filename in that way. cañón -> canon is more friendly. If it is not possible to remove the other non ascii chars from the client side I suppose I c...
by dstonek
Tue Sep 30, 2008 10:16 pm
Forum: JFileUpload
Topic: White list question
Replies: 10
Views: 22869

Re: White list question

space -> _ á -> a Á -> A é -> e É -> E í -> i Í -> I ó -> o Ó -> O ú -> u Ú -> U ñ -> n Ñ -> N ç -> c Ç -> C This is the base. Just in case I also would like to substitute any accented vowel by the same unaccented. à -> a // â -> a // ä ->a etc (lower and upper cases) In process file I have a php fu...
by dstonek
Tue Sep 30, 2008 12:24 am
Forum: JFileUpload
Topic: White list question
Replies: 10
Views: 22869

Re: White list question

I am not familiar with regExp There's something about your example that is not good or I don't understand. document.writeln('<PARAM NAME="template" VALUE=":filename:regex=[\W\\-\\.]:_:">'); I am testing uploading a file named colorhoyáñ.jpg It is renamed as .]-_- document.writeln('<PARAM NAME="templ...
by dstonek
Sun Sep 28, 2008 8:04 pm
Forum: JFileUpload
Topic: White list question
Replies: 10
Views: 22869

Re: White list question

Ah, okay.
You mean regular expressions in 'template' parameter.
Thanks.
by dstonek
Sat Sep 27, 2008 8:24 pm
Forum: JFileUpload
Topic: White list question
Replies: 10
Views: 22869

White list question

Is it possible to filter file names containing strange chars like d%~⅝™đ»ĸµ.jpg?
by dstonek
Mon Aug 18, 2008 7:48 pm
Forum: JImageFilter
Topic: About watermarking
Replies: 2
Views: 18195

Re: About watermarking

Yes, it does. Thank you.
PS: I have a pending answer about broken uploads
by dstonek
Sat Aug 16, 2008 10:51 pm
Forum: JImageFilter
Topic: Resizing Black and White photos
Replies: 6
Views: 31397

Resizing Black and White photos

After resize I found that a couple of B&W photos went brighter than their original files.
Try this one
or
This one
by dstonek
Sat Aug 16, 2008 8:33 pm
Forum: JImageFilter
Topic: Incomplete upload
Replies: 3
Views: 20324

Re: Incomplete upload

I'm not sure about changing from POST to PUT upload method. For other reasons I have a hidden layer (display:none) with a semitransparent background that covers the hole page but the applet. Is there a way (JS?) to set display:block for that layer when the applet starts working resizing, watermarkin...
by dstonek
Sat Aug 16, 2008 7:13 pm
Forum: JImageFilter
Topic: About watermarking
Replies: 2
Views: 18195

About watermarking

With pleasure I receive 2.2beta upgrade with watermarking capabilities on image files. At this time I am resizing-uploading only one image. On server side I create a small thumbnail for it. Of course if the regular image is watermarked same is applied to the thumbnail. My question is if I use the ap...