From 142b8e2da6ad16bb1ff252e75ef25a68c63bff26 Mon Sep 17 00:00:00 2001 From: Sergey Krivochenko Date: Thu, 30 Nov 2017 12:56:58 +0400 Subject: [PATCH] [fix] - fixes README and CHANGELOG --- CHANGELOG.md | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ README.md | 6 ++---- 2 files changed, 53 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a8cc964..cb572da 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,54 @@ +#### 2.0.19 +* Fix for calculating ration +* Add settings for image quality + +#### 2.0.18 +* Add aspectRatio setting + +#### 2.0.17 +* Fix syntax error when save file + + +#### 2.0.16 +* Fix saving image + +#### 2.0.15 +* Add aspectRatio at frontend +* Settings for Widget at frontend +* Better quality for uploaded images +* Add translation at Ukrainian + +#### 2.0.14 +* Fix incorrect using widget parameters when calculate crop ratio + +#### 2.0.13 +* Change ajax uploader version + +#### 2.0.12 +* Fix of path to bower assets + +#### 2.0.11 +* Change ajax uploader version + +#### 2.0.10 +* Message translations of Chinese + +#### 2.0.9 +* Added es and fr translations in messages + +#### 2.0.8 +* Add Polish translation + +#### 2.0.7 +* Add event "onCompleteJcron" + +#### 2.0.6 +* Fixes and refactoring + +#### 2.0.5 +* Supporting UK language + + #### 2.0.4 * PHPDoc comments added * Changelog added diff --git a/README.md b/README.md index a461e59..d1c2eca 100644 --- a/README.md +++ b/README.md @@ -21,10 +21,6 @@ or add to the require section of your `composer.json` file. -Differences from the first version ------ -Second version use JavaScript FileAPI for showing image without preloading to the server. Also this version has client validation. - Usage ----- @@ -87,6 +83,8 @@ Action has following parameters: | extensions | Allowed file extensions (string). It must match the value of a similar parameter of the widget. | jpeg, jpg, png, gif |No | | width | The final width of the image after cropping. It must match the value of a similar parameter of the widget. | 200 |No | | height | The final height of the image after cropping. It must match the value of a similar parameter of the widget. | 200 |No | +| jpegQuality | Quality of cropped image (JPG) | 100 |No | +| pngCompressionLevel | Quality of cropped image (PNG) | 1 |No | You can use this widget on frontend and backend. For example: user can change his userpic and administrator can change users userpic.