Changes between Version 1 and Version 2 of Ticket #56288
- Timestamp:
- 07/26/2022 10:16:18 PM (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #56288 – Description
v1 v2 6 6 7 7 = Considerations = 8 This initial proposal is to add a new "output_mimes"boolean parameter to the `add_image_size` function. I also considered instead adding an `$output_options` (keyed) array parameter, this would then have an option for `output_mimes` and in the future we could use this to enable a quality setting per size which we have discussed elsewhere already.8 This proposal is to add a new `$output_mimes` boolean parameter to the `add_image_size` function. I also considered instead adding an `$output_options` (keyed) array parameter, this would then have an option for `output_mimes` and in the future we could use this to enable a quality setting per size which we have discussed elsewhere already. 9 9 10 I decided to keep this PR simple by using a boolean vs an array because that is all we need now. I would appreciate feedback on this approach .10 I decided to keep this PR simple by using a boolean vs an array because that is all we need now. I would appreciate feedback on this approach in addition to the code here or on the PR.