Project

General

Profile

Actions

Bug #8094

closed

Client side image resizing of PNG images results in large image

Added by krileon almost 4 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Low
Assignee:
Target version:
Start date:
14 July 2020
Due date:
% Done:

100%

Estimated time:

Description

Client side resizing of PNG images is resulting in a large image than was uploaded or there's an issue in the file object with size property being set incorrectly.

https://www.joomlapolis.com/forum/153-professional-member-support/242721-upload-image-max-file-size-error#319598

Actions #1

Updated by beat almost 4 years ago

  • Target version changed from CB 2.4.6 to CB 2.4.7
Actions #2

Updated by krileon over 3 years ago

  • Priority changed from Normal to Low

Unable to confirm. Even massive 1mb images scaled down fine as a 20kb image. Can't see any reason for this to go wrong and scale the image larger. This means it may just be entirely a jQuery validation problem seeing wrong filesize (probably validating against the original filesize).

Actions #3

Updated by krileon over 3 years ago

Confirmed the issue is entirely a problem with the jQuery validation triggering against the original filesize instead of against the client side resized image.

Actions #4

Updated by krileon over 3 years ago

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

Fixed in MR !1589

Actions #5

Updated by beat over 3 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF