Project

General

Profile

Actions

Feature proposal #6222

closed

Implement client side resizing

Added by krileon about 8 years ago. Updated almost 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
22 September 2016
Due date:
% Done:

100%

Estimated time:

Description

With HTML5 it's now possible to support client side resizing of image files. This should just be a part of the file input validation code and handled in cbValidate it self. Current jQuery File Upload can do this, but it's with old canvas usage and still requires and upload so not much point to it. See the below example using HTML5 functionality (similar to how the current filesize/extension validation is already working). This should simply have new validation attributes for max height and max width.

http://dejanstojanovic.net/jquery-javascript/2016/january/resize-image-on-the-client-side-with-jquery/

Note that this changes the image to a byte array instead of an actual file so the upload code needs to handle byte arrays.

https://www.joomlapolis.com/forum/153-professional-member-support/234815-client-side-image-resizing-and-compression#286162


Related issues 1 (0 open1 closed)

Related to CB Gallery - Feature proposal #6228: Implement client side resizingClosedkrileon27 September 2016

Actions
Actions #2

Updated by krileon about 8 years ago

Actions #4

Updated by krileon about 8 years ago

  • Status changed from Assigned to Resolved
  • % Done changed from 0 to 100

Implemented in MR !1123

Actions #5

Updated by krileon almost 8 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF