0

I'm using uploadify with MVC 3. When loading the page I have extra request to the page action - so many as uploadify units on the page.
How to tell uploadify not to do that?:)

1 Answer 1

1

I saw the same thing in a Ruby Sinatra app I built. Dug into it a bit and realized that swfUpload was looking for a button image at the wrong url. I got it to work correctly by initializing the swfUpload button_image_url property to the Uploadify settings.buttonImage property:

var swfUploadSettings = {
    assume_success_timeout   : settings.successTimeout,
    button_placeholder_id    : settings.id,
    button_width             : settings.width,
    button_height            : settings.height,
    button_image_url  : settings.buttonImage,
    button_text              : null,
    ....

See also this comment in the Uploadify forums: http://www.uploadify.com/forum/#/discussion/comment/16999

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.