Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F803822
D453.id1180.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Wed, Feb 26, 8:58 AM
Size
502 B
Mime Type
text/x-diff
Expires
Thu, Feb 27, 8:58 AM (7 h, 36 m)
Engine
blob
Format
Raw Data
Handle
576546
Attached To
D453: INP-1847 - Specify image resizing defaults for category item images
D453.id1180.diff
View Options
Index: core/units/helpers/image_helper.php
===================================================================
--- core/units/helpers/image_helper.php
+++ core/units/helpers/image_helper.php
@@ -126,6 +126,9 @@
if (is_numeric($max_width)) {
$params['max_width'] = $max_width;
$params['max_height'] = $max_height;
+ $params['quality'] = 100;
+ $params['output_format'] = 'auto';
+ $params['orientation'] = 'manual';
}
else {
$params = $this->parseFormat($max_width);
Event Timeline
Log In to Comment