[wp-hackers] Plupload, WP 3.3 and client-side resizing
webdev at ms-studio.net
Mon Jan 2 22:11:44 UTC 2012
I am currently searching for documentation about the Plupload script
that was integrated into the WP core with the 3.3 release.
My needs are the following:
- force a size limit of 1024px width / height for picture uploads.
- if the picture is bigger, ask the browser for client-side downsizing.
- if the browser can't do it, refuse the upload and provide a
meaningful error message.
I was wondering if WP 3.3 would provide a config panel for such
settings, a bit like the (now obsoleted) WPlupload plugin did:
Or can we define such things in functions.php ? Is there any
"official" documentation about how Plupload works in WP? Any examples
or "best practices"?
Many questions. For some reason, Google didn't bring up any up-to-date
Any advice would be much appreciated.
More information about the wp-hackers