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 c535283 commit 31ac674Copy full SHA for 31ac674
readme.md
@@ -46,7 +46,22 @@ or
46
* Custimize your upload file name
47
48
$file = $fa->save(\Input::file('image'), 'custimized_filename'); // => custimized_filename.jpg
49
-
+
50
+### Save thumbnails
51
52
+* By default will set three thumbs(equal scaling)
53
54
+ $file = $fa->save(\Input::file('image'));
55
56
+* Set custom thumb sizes
57
58
+ $file = $fa
59
+ ->thumbs(['S' => '150x100', 'M' => '300x200', 'L' => '450x300'])
60
+ ->save(\Input::file('image'));
61
62
+* make cropped thumbs
63
64
+ $file = $fa->crop()->save(\Input::file('image'));
65
66
### Get file fullpath (abstract path from Laravel Storage)
67
0 commit comments