Opened 17 months ago

Last modified 9 months ago

#19770 new feature request

Implement browser-side resizing with Plupload

Reported by: johnbillion Owned by:
Priority: normal Milestone: Awaiting Review
Component: Upload Version: 3.3
Severity: normal Keywords:
Cc: jayarjo, fczuardi2, xoodrew@…, code@…

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)

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

comment:2 follow-up: ↓ 3   jayarjo16 months ago

Hm... what are inconsistencies with Plupload?

comment:3 in reply to: ↑ 2   SergeyBiryukov16 months ago

Replying to jayarjo:

Hm... what are inconsistencies with Plupload?

See comment:ticket:19174:3.

  • 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 the it, I could help to make it consistent.

Version 0, edited 16 months ago by jayarjo (next)

comment:5 follow-up: ↓ 9   fczuardi211 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' ); 
  • Cc fczuardi2 added
  • Cc xoodrew@… added

Related #21407

  • Cc code@… added

comment:9 in reply to: ↑ 5   DrewAPicture9 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.