Swfupload: the maximum size for reading uploaded images is 100*75.

Source: Internet
Author: User
The maximum number of images uploaded by swfupload is 100*75. I used SWFUpload_v250_beta_3 to upload images, then copy the uploaded image $ _ FILES ['filedata'] ['tmp _ name'] to the specified folder. The maximum value is 100*75. of course, I have not copied a thumbnail.


Reply to discussion (solution)

LZ can use imagecreatetruecolor (), imagecreatefromjpeg (), and imagecopyresampled () functions to specify the size of an image.

Upstairs misunderstanding. I mean swfupload directly thumbnails the image, and I have deleted the above imagecreatetruecolor (), imagecreatefromjpeg (), imagecopyresampled (), and then deleted them directly.
Move_uploaded_file ($ _ FILES ['filedata'] ['tmp _ name'], $ file_path)
Go to the specified folder and check that the image has been scaled down.

I mean, swfupload directly thumbnails the image.

Possible. You can see the size of the temporary image.

The cause is found. it turns out that he executed this. startResizedUpload (this. getFile (0). ID, 100,100, SWFUpload. RESIZE_ENCODING.JPEG, 100) during the upload and reduced the image.

Dsf 123213

[Img] 123 [/img]

[Img] 22223 [/img]

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.