You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*`$thumbsizes`: String or array of strings. Example: $thumbSizes = array('150x75','250x150');
94
-
*`$creationMethod`: See __Resize Methods__ below.
95
-
*`$thumbsFolder`: Destination for thumbnails. Passing null generates a thumbs folder in the loaded image's containing folder.
94
+
95
+
-`$thumbsizes`: String or array of strings. Example: $thumbSizes = array('150x75','250x150');
96
+
-`$creationMethod`: See __Resize Methods__ below.
97
+
-`$thumbsFolder`: Destination for thumbnails. Passing null generates a thumbs folder in the loaded image's containing folder.
96
98
97
99
Example: Using `JImage::createThumbs()` to generate thumbnails of an image.
98
100
@@ -115,7 +117,7 @@ In this example, we use the `createThumbs` method of `JImage`. This method takes
115
117
The `resize`, `createThumbs` and `generateThumbs` methods take an optional parameter that defines what method to use when scaling an image.
116
118
This parameter can be one of the following:
117
119
118
-
*`JImage::SCALE_FILL` - Gives you a thumbnail of the exact size, stretched or squished to fit the parameters.
119
-
*`JImage::SCALE_INSIDE` - Fits your thumbnail within your given parameters. It will not be any taller or wider than the size passed, whichever is larger.
120
-
*`JImage::SCALE_OUTSIDE` - Fits your thumbnail to the given parameters. It will be as tall or as wide as the size passed, whichever is smaller.
121
-
*`JImage::CROP` - Gives you a thumbnail of the exact size, cropped from the center of the full sized image.
120
+
-`JImage::SCALE_FILL` - Gives you a thumbnail of the exact size, stretched or squished to fit the parameters.
121
+
-`JImage::SCALE_INSIDE` - Fits your thumbnail within your given parameters. It will not be any taller or wider than the size passed, whichever is larger.
122
+
-`JImage::SCALE_OUTSIDE` - Fits your thumbnail to the given parameters. It will be as tall or as wide as the size passed, whichever is smaller.
123
+
-`JImage::CROP` - Gives you a thumbnail of the exact size, cropped from the center of the full sized image.
0 commit comments