Skip to content

Commit 5b1256c

Browse files
author
jbostoen
authored
Update UploadHandler.php
1 parent c9bf24b commit 5b1256c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

server/php/UploadHandler.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -138,11 +138,11 @@ public function __construct($options = null, $initialize = true, $error_messages
138138
// Automatically rotate images based on EXIF meta data:
139139
'auto_orient' => true
140140
),
141-
// You can add an array. The key is the name of the version, the array contains the options to apply.
141+
// You can add an array. The key is the name of the version (example: 'medium'), the array contains the options to apply.
142142
/*
143-
'example-of-another-version' => array(
144-
'max_width' => 80,
145-
'max_height' => 80
143+
'medium' => array(
144+
'max_width' => 200,
145+
'max_height' => 160
146146
),
147147
*/
148148
'thumbnail' => array(

0 commit comments

Comments
 (0)