Re: [cgiapp] Re: CGI::Uploader - making it not generate thumbs, for non images.

2005-12-19 Thread Jeff MacDonald
First, let's rewrite this in the new 2.0 syntax: 'img_1_thmb_1' = { if_mimetype = '/^image\/.+/', transform_method = gen_thumb({ w = 100, h = 100 }), } I'm trying to use this syntax of course, without the mimetype yet.. this what I actually have spec = { file

[cgiapp] Re: CGI::Uploader - making it not generate thumbs, for non images.

2005-12-18 Thread Mark Stosberg
On 2005-12-18, Jeff MacDonald [EMAIL PROTECTED] wrote: 'img_1_thmb_1' = { if_mimetype = '/^image\/.+/', transform_method = \gen_thumb, params = [ w = 100, h = 100 ], } First, let's rewrite this in the new 2.0 syntax: