1
我正在使用swfupload上傳圖片並在客戶端調整它們的大小。出於測試目的,我創建了一個5000x5000的png,尺寸非常小,圖像大小調整失敗。尺寸太大時,任何人都會遇到圖像尺寸調整問題?使用swfupload?swfupload圖像調整大小停止如果圖像尺寸很大?
我已經包含了調試日誌:對於兩個文件 - 一個成功,另一個停止。
SWF DEBUG: Event: fileDialogStart : Browsing files. Single Select. Allowed file types: *.jpg; *.png
SWF DEBUG: Select Handler: Received the files selected from the dialog. Processing the file list...
SWF DEBUG: Event: fileQueued : File ID: SWFUpload_0_0
SWF DEBUG: Event: fileDialogComplete : Finished processing selected files. Files selected: 1. Files Queued: 1
SWF DEBUG: StartUpload: First file in queue
SWF DEBUG: Event: uploadStart : File ID: SWFUpload_0_0
SWF DEBUG: StartUpload(): Uploading Type: Resized Image.
SWF DEBUG: PrepareThumbnail(): Beginning image resizing.
SWF DEBUG: Settings: Width: 250, Height: 250, Encoding: JPEG, Quality: 100.
SWF DEBUG: PrepareResizedImageCompleteHandler(): Finished resizing. Initializing MultipartURLLoader.
SWF DEBUG: ReturnUploadStart(): File accepted by startUpload event and readied for resized upload. Starting upload to /FileUpload/AsyncUpload for File ID: SWFUpload_0_0
SWF DEBUG: Event: uploadProgress (OPEN): File ID: SWFUpload_0_0 Bytes: 0. Total: 36585
SWF DEBUG: Event: uploadProgress (simulated 100%): File ID: SWFUpload_0_0. Bytes: 36585. Total: 36585
SWF DEBUG: Event: uploadSuccess: File ID: SWFUpload_0_0 Response Received: true Data: {"guid":"04cbb2ca-f7a2-4f75-9c14-b8e19e5ca9b2.jpg","width":250,"height":190}
SWF DEBUG: Event: uploadComplete : Upload cycle complete.
該叫停的文件:
SWF DEBUG: Event: fileDialogStart : Browsing files. Single Select. Allowed file types: *.jpg; *.png
SWF DEBUG: Select Handler: Received the files selected from the dialog. Processing the file list...
SWF DEBUG: Event: fileQueued : File ID: SWFUpload_0_1
SWF DEBUG: Event: fileDialogComplete : Finished processing selected files. Files selected: 1. Files Queued: 1
SWF DEBUG: StartUpload: First file in queue
SWF DEBUG: Event: uploadStart : File ID: SWFUpload_0_1
SWF DEBUG: StartUpload(): Uploading Type: Resized Image.
SWF DEBUG: PrepareThumbnail(): Beginning image resizing.
SWF DEBUG: Settings: Width: 250, Height: 250, Encoding: JPEG, Quality: 100.