WordPress.org

Make WordPress Core

Opened 2 years ago

Last modified 20 months ago

#19770 new feature request

Implement browser-side resizing with Plupload

Reported by: johnbillion Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 3.3
Component: Upload Keywords:
Focuses: Cc:

Description

#19174 removed the browser-side image resizing due to browser inconsistencies. We should fix it and reintroduce the feature.

A little related: #14459

Change History (9)

comment:1 scribu2 years ago

+1 altough I think it depends on Plupload itself to fix the inconsistencies, no?

comment:2 follow-up: jayarjo2 years ago

Hm... what are inconsistencies with Plupload?

comment:3 in reply to: ↑ 2 SergeyBiryukov2 years ago

Replying to jayarjo:

Hm... what are inconsistencies with Plupload?

See comment:ticket:19174:3.

comment:4 jayarjo2 years ago

  • Cc jayarjo added

Thanks for the link, although couldn't viably figure out what was expected behavior from Plupload's side..? I left a comment there but thread seems to be closed now. If we can come up with strict requirements for it, I could help to make it consistent.

Last edited 2 years ago by jayarjo (previous) (diff)

comment:5 follow-up: fczuardi222 months ago

I don't mean to spam this bug, but since this was the page google pointed me when I was looking for how to enable back client-side image resize before uploading to wordpress, I think it can be useful to write the workaround / way to turn that feature back on again (WP 3.4.1) while it doesnt get properly reintroduced…

add_action( 'post-upload-ui', 'media_upload_max_image_resize' ); 

comment:6 fczuardi222 months ago

  • Cc fczuardi2 added

comment:7 DrewAPicture21 months ago

  • Cc xoodrew@… added

Related #21407

comment:8 tar.gz20 months ago

  • Cc code@… added

comment:9 in reply to: ↑ 5 DrewAPicture20 months ago

Replying to fczuardi2:

I think it can be useful to write the workaround / way to turn that feature back on again (WP 3.4.1) while it doesnt get properly reintroduced…


add_action( 'post-upload-ui', 'media_upload_max_image_resize' ); 

FWIW, I've been adding the action back via a plugin since it was decided to remove it in #19174. I rewrote the language a bit but haven't had any reported problems. Uploading & resizing multiple photos works for us in FF14, Safari 6, Chrome 21, Opera 12 and IE9.

Note: See TracTickets for help on using tickets.