Fix the get 404 Not Found problem caused by loading uploadify 3.2 upload Control

Source: Internet
Author: User

Http://www.uploadify.com/forum/#/discussion/7329/uploadify-v3-bug-unecessary-request-when-there-is-no-button_ Image_url-set-/p1

The crux of the problem is swfupload, this is the uploadify call for support Flash upload, but it does not judge button_image_url, resulting in if the Button_image_url is empty, the default request the current root path, The modified method is also relatively simple, add a judgment can:

Put the following code in the Jquery.uploadify.js:

This.settings.button_image_url = Swfupload.completeurl (this.settings.button_image_url);
Modified to read as Follows:

If (this.settings.button_image_url! = "") {
This.settings.button_image_url = Swfupload.completeurl (this.settings.button_image_url);
}

Fix the get 404 Not Found problem caused by loading uploadify 3.2 upload Control

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.