We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d4fe7d commit 419a9f6Copy full SHA for 419a9f6
README.md
@@ -91,6 +91,10 @@ You can enable by passing ```true``` to any resize function:
91
$image = new ImageResize('image.jpg');
92
$image->resize(500, 300, $allow_enlarge = True);
93
$image->save('image2.jpg');
94
+
95
+$image = new ImageResize('image.jpg');
96
+$image->resizeToShortSide(300, $allow_enlarge = True);
97
+$image->save('image2.jpg');
98
```
99
100
If you are happy to handle aspect ratios yourself, you can resize directly:
0 commit comments