Skip to content

Commit 27e0772

Browse files
author
jbostoen
authored
Update UploadHandler.php
1 parent 600debc commit 27e0772

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

server/php/UploadHandler.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,8 @@ public function __construct($options = null, $initialize = true, $error_messages
143143
'example-of-another-version' => array(
144144
'max_width' => 80,
145145
'max_height' => 80
146-
), */
146+
),
147+
*/
147148
'thumbnail' => array(
148149
// Uncomment the following to use a defined directory for the thumbnails
149150
// instead of a subdirectory based on the version identifier.
@@ -158,8 +159,6 @@ public function __construct($options = null, $initialize = true, $error_messages
158159
// 'crop' => true,
159160
// 'jpeg_quality' => 70,
160161
// 'no_cache' => true, (there's a caching option, but this remembers thumbnail sizes from a previous action!)
161-
// 'max_width' => 0, (t
162-
// 'max_height' => 200,
163162
// 'strip' => true, (this strips EXIF tags, such as geolocation)
164163
'max_width' => 80, // either specify width, or set to 0. Then width is automatically adjusted - keeping aspect ratio to a specified max_height.
165164
'max_height' => 80 // either specify height, or set to 0. Then height is automatically adjusted - keeping aspect ratio to a specified max_width.

0 commit comments

Comments
 (0)