[pmwiki-users] Best Place to Resize an Image . . .

Patrick R. Michaud pmichaud at pobox.com
Tue Apr 11 12:50:07 CDT 2006


On Tue, Apr 11, 2006 at 11:30:39AM -0500, Ben Wilson wrote:
> It's okay if you don't know how I did it. It was not a web server that
> did the processing. We had a dedicated server that handled the
> resizing. I'm really not at liberty to discuss those details.
> 
> Question remains: where in the upload flow should I instantiate?

I'd do it as a custom $UploadVerifyFunction -- check the upload
size (and type) at that point, and if it's larger then replace
the file with a smaller version.

Pm




More information about the pmwiki-users mailing list