Answer the question
In order to leave comments, you need to log in
Where does the error come from when loading large images?
Good day!
The first time I encountered yii (yupe) I hope for indulgence)
When uploading images ~ > 1mb, it gives an error in the alert
-200 - HTTP error
jQuery('#ArdArticle_image').cover({'sizes':{'1':{'width':462, 'height':397},
'2':{'width':462, 'height':181},
'3':{'width':216, 'height':181}},
'coords':{'x':'196',
'y':'0', 'x2':'1724', 'y2':'1280', 'w':'1528', 'h':'1280'},
'level':'3', 'image':'/uploads/content/images/0/0/78/5cd964e9d35051.42858447.jpg',
'canCrop':true, 'jcropConfig':[], 'pluploadConfig':{'runtimes':'html5, flash, silverlight, html4',
'url':'/ard/article/coverUpload',
'flash_swf_url':'http://rawgithub.com/moxiecode/moxie/master/bin/flash/Moxie.cdn.swf',
'silverlight_xap_url':'http://rawgithub.com/moxiecode/moxie/master/bin/silverlight/Moxie.cdn.xap',
'filters':{'max_file_size':'5368709120',
'mime_types':[{'title':'Image files',
'extensions':'jpg, jpeg, png, gif'}]},
'chunk_size':'5368709120',
'unique_names':true, 'multipart':true, 'language':'ru'},
'uploadUrl':'/ard/article/coverUpload'});
Search result
\ard\modules\blog\BlogModule.php:
14 public $mainPostCategory;
15 public $minSize = 0;
16: public $maxSize = 5368709120;
17 public $maxFiles = 1;
18 public $allowedExtensions = 'jpg,jpeg,png,gif';
\ard\modules\news\NewsModule.php:
19 public $allowedExtensions = 'jpg,jpeg,png,gif';
20 public $minSize = 0;
21: public $maxSize = 5368709120;
22 public $maxFiles = 1;
23 public $rssCount = 10;
\ard\modules\publishing\PublishingModule.php:
19 public $allowedExtensions = 'jpg,jpeg,png,gif';
20 public $minSize = 0;
21: public $maxSize = 5368709120;
22 public $maxFiles = 1;
23 public $perPage = 10;
\ard\modules\user\UserModule.php:
66
67 public $minSize = 0;
68: public $maxSize = 5368709120;
69 public $allowedImagesExtensions = 'jpg,jpeg,png,gif';
70
\ard\modules\user\widgets\UserCoverInput.php:
34 const EXTENSIONS = 'jpg,jpeg,png,gif';
35
36: const MAX_SIZE = '5368709120';
37
38: const MAX_CHUNK_SIZE = '5368709120';
39
40
\ard\modules\yupe\components\behaviors\ImageUploadBehavior.php:
38 * Максимальный размер загружаемого изображения
39 */
40: public $maxSize = 5368709120;
41
42 /*
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question