Project

General

Profile

Actions

Bug #8094

closed

Client side image resizing of PNG images results in large image

Bug #8094: Client side image resizing of PNG images results in large image

Added by krileon over 5 years ago. Updated about 5 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

Updated by beat over 5 years ago Actions #1

  • Target version changed from CB 2.4.6 to CB 2.4.7

Updated by krileon about 5 years ago Actions #2

  • 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).

Updated by krileon about 5 years ago Actions #3

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

Updated by krileon about 5 years ago Actions #4

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

Fixed in MR !1589

Updated by beat about 5 years ago Actions #5

  • Status changed from Resolved to Closed
Actions

Also available in: PDF Atom