Confirmed Client side image resizing fails if image is inserted via toolbar icon


Well-known member
Affected version
2.3.0 Beta 2
  1. Set post_max_size and upload_max_filesize to 1 MB
  2. Set max image dimensions to 300 x 300
Steps to reproduce
  1. Click the editor toolbar icon Insert image
  2. Drop a large image (well > 1 MB and over 300x300) onto the drop area
Expected Result
The image is resized to max. 300 x 300 and uploaded afterwards

Actual Result
The source image is uploaded, the upload fails without a user-facing error

Suggested Fix
The upload must be routed through the attachment manager so client side image resizing is used
Top Bottom