[wp-trac] [WordPress Trac] #19770: Implement browser-side resizing with Plupload

WordPress Trac noreply at wordpress.org
Sun Jul 28 04:08:46 UTC 2019


#19770: Implement browser-side resizing with Plupload
-----------------------------+-------------------------
 Reporter:  johnbillion      |       Owner:  (none)
     Type:  feature request  |      Status:  closed
 Priority:  normal           |   Milestone:
Component:  Upload           |     Version:  3.3
 Severity:  normal           |  Resolution:  maybelater
 Keywords:  needs-patch      |     Focuses:
-----------------------------+-------------------------

Comment (by westonruter):

 Doing client-side resizing would improve upload time and reduce bandwidth
 consumption (e.g. on mobile) when trying to upload source images from a
 camera. I think it should be relatively uncommon need full-res original
 images to be uploaded since they should not normally be used on webpages,
 and whenever they are used it is normally a mistake. I recall the Facebook
 app would resize images prior to upload to conserve bandwidth. I
 personally turned this feature off, but I imagine it would be very helpful
 for the majority of users who don't care to have the full image uploaded.
 It could help guard against oversized media being served on the frontend.

 A check could be done for `navigator.connection.effectiveType` to see if
 it is a slow connection, and then offer to resize the images prior to
 uploading.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/19770#comment:14>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list