[wp-hackers] upload size limit (in pixels!)
Simon Blackbourn
piemanek at gmail.com
Mon Aug 29 19:51:39 UTC 2011
plupload allows for this, you specify the maximum height/width in pixels and
the image gets resized on the client side before upload:
http://wordpress.org/extend/plugins/wplupload/
On 29 August 2011 19:55, Mike Schinkel <mikeschinkel at newclarity.net> wrote:
> Have you considered suggesting the client use a Flickr account or similar
> for their image uploads and then use the API or a plugin (if one exists) to
> grab the photos for use on the site? Flickr will do all the image resizing
> and only costs US$25/year for unlimited space.
>
> Sent from my iPad
>
> On Aug 29, 2011, at 2:45 PM, Manuel Schmalstieg <webdev at ms-studio.net>
> wrote:
>
> > I'm wondering if anybody can think of a quick and easy solution for
> > this typical situation:
> >
> > you have set everything up for the client who wants to manage himself
> > the content of a new WP website. You thought him not to copy-paste
> > directly from MS Word, and you told him to upload images at a
> > reasonable size.
> >
> > Your WP theme has been configured to resize all images appropriately,
> > so there is nothing to worry ... except that the customer will upload
> > 10 MB images from his camera, at sizes of 5000 x 3000 px ... and WP
> > won't produce any thumbnails for those, as the resizing exceeds the
> > memory limit.
> >
> > Question: can we define a maximum pixel width (of, say 2000px in any
> > direction) beyond which the user will simply get a warning message?
> >
> > Setting an upload limit in MB for any uploads wouldn't be a solution,
> > since we still want to allow the upload of a 15 MB pdf, for instance.
> >
> > --
> > Manuel
> > _______________________________________________
> > wp-hackers mailing list
> > wp-hackers at lists.automattic.com
> > http://lists.automattic.com/mailman/listinfo/wp-hackers
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>
More information about the wp-hackers
mailing list