내 옵션이 이상한 방식으로 작동하고, 내가 모르는 유닛을 사용하고 있는지 또는 간단한 도청인지 파악할 수 없다.(JQuery File Upload) 이상한 행동을하는 maxFileSize
예를 들어 파일 크기를 12000으로 설정하면 ~ 50ko는 업로드 할 수 있지만 ~ 120ko는 업로드 할 수 없지만 15000으로 설정하면 850ko 파일을 업로드 할 수 있습니다.
파일 형식에 따라 다름 (850ko png는 업로드되지만 850ko jpg는 업로드되지 않음).
문제가 무엇인지 실마리가 있습니까?
$('#fileupload').fileupload({
acceptFileTypes: /(\.|\/)(gif|jpe?g|png)$/i,
maxFileSize: 12000,
progressInterval: 10,
disableImageResize: false,
imageMinWidth: 150,
imageMaxWidth: 150,
imageMinHeight: 150,
imageMaxHeight: 150,
imageCrop: true,
processfail: rest of the code...
<!-- The jQuery UI widget factory, can be omitted if jQuery UI is already included -->
<script src="/core/scripts/blueimp/js/vendor/jquery.ui.widget.js"></script>
<!-- The Load Image plugin is included for the preview images and image resizing functionality -->
<script src="/core/scripts/blueimp/js/load-image.all.min.js"></script>
<!-- The Canvas to Blob plugin is included for image resizing functionality -->
<script src="/core/scripts/blueimp/js/canvas-to-blob.min.js"></script>
<!-- The Iframe Transport is required for browsers without support for XHR file uploads -->
<script src="/core/scripts/blueimp/js/jquery.iframe-transport.js"></script>
<!-- The basic File Upload plugin -->
<script src="/core/scripts/blueimp/js/jquery.fileupload.js"></script>
<!-- The File Upload processing plugin -->
<script src="/core/scripts/blueimp/js/jquery.fileupload-process.js"></script>
<!-- The File Upload validation plugin -->
<script src="/core/scripts/blueimp/js/jquery.fileupload-validate.js"></script>
<!-- The File Upload image preview & resize plugin -->
<script src="/core/scripts/blueimp/js/jquery.fileupload-image.js"></script>