-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[6.0] feat(task/checkfiles): Introduce image compression #40658
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: 6.0-dev
Are you sure you want to change the base?
Conversation
5fd8461
to
6be9ed1
Compare
I suspect a mistake between compression <-> quality. |
Co-authored-by: Brian Teeman <[email protected]>
Co-authored-by: Quy <[email protected]>
Honestly I'd prefer |
Co-authored-by: Brian Teeman <[email protected]>
I have tested this item 🔴 unsuccessfully on 38458ad I think the default value should be something reasonable, perhaps 75 rather than 0 The task does not actually run - Run Test just gives a Task: "Resize images" popup that never completes. If I close it I see a Running since ... Icon. This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/40658. |
This pull request has been automatically rebased to 5.1-dev. |
This pull request has been automatically rebased to 5.2-dev. |
I have tested this item ✅ successfully on 38458ad This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/40658. |
1 similar comment
I have tested this item ✅ successfully on 38458ad This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/40658. |
I have tested this item ✅ successfully on 38458ad This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/40658. |
@@ -20,7 +20,7 @@ | |||
label="PLG_TASK_CHECK_FILES_LABEL_IMAGE_DIMENSION" | |||
required="true" | |||
default="width" | |||
> | |||
> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please revert this change
@@ -11,7 +11,7 @@ | |||
hide_none="true" | |||
required="true" | |||
validate="options" | |||
> | |||
> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please revert this change
I have no idea how you can say that you have tested this as at a minimum the new language strings are in the wrong file so it can only ever display the language keys as reported by @ceford earlier |
PLG_TASK_CHECK_FILES_LABEL_COMPRESSION="Compression" | ||
PLG_TASK_CHECK_FILES_LABEL_COMPRESSION_DESC="Choose the compression level to use when compressing files. 0 = no compression, 100 = maximum compression." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These strings should NOT be in the .sys.ini file They will do nothing here.
I have tested this item 🔴 unsuccessfully on 38458ad This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/40658. |
This pull request has been automatically rebased to 5.3-dev. |
This pull request has been automatically rebased to 6.0-dev. |
Summary of Changes
Introduces image compression to the image resizer plugin.
Resizing might result in a size increase, so we leave an option to compress.
Testing Instructions
Actual result BEFORE applying this Pull Request
No compression option. Image size may go up after the resize process.
Expected result AFTER applying this Pull Request
Compression option.
Link to documentations
Please select:
Documentation link for docs.joomla.org:
No documentation changes for docs.joomla.org needed
Pull Request link for manual.joomla.org:
No documentation changes for manual.joomla.org needed