Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7940579
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T23:26:00+00:00 2026-06-03T23:26:00+00:00

I use uploadify to upload an image. The upload button is a camera image

  • 0

I use uploadify to upload an image. The upload button is a camera image (camera.png), but when selecting an image, and when upload is successful, the upload button image is another image (success.png).

Here is the used javascript code:

$('#form-add-post-image').uploadify({
    'swf':         'uploadify/uploadify.swf',
    'uploader':    'uploadify/uploadify.php',
    'buttonImage': 'uploadify/camera.png',
    'width':       128,
    'height':      128,
    'onUploadSuccess': function(file, data, response){
        $(this).uploadify('settings', 'buttonImage', 'uploadify/success.png');
    }
});

But, this doesn’t work, and the console gives this error message: Uncaught ReferenceError: settingValue is not defined.

Any idea?

And what Uncaught ReferenceError: settingValue is not defined means?

Thanks in advance

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T23:26:01+00:00Added an answer on June 3, 2026 at 11:26 pm

    I am using jquery.uploadify.v2.1.4.min.js I wanted also to change the upload image after the image is uploaded,
    a simple solution that I found was add the hideButton property to my uploadify settings

    'hideButton': 'true',

    and you wont have to load the browse image from uploadify simply load it from your css

        #your_uploadify_id{
        background: url(browse.png) no-repeat;
    }
    

    then in onComplete load the new image to your css:

    'onComplete'  : function(){
    $("#browes_pictureUploader").css({'background-image':'url(change_picture.png)'});
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to use JavaScript to upload image to imgur by this example
Hy, i use uploadify to upload some images, after i display all the images
I have Default.aspx with several controls along with Uploadify Image upload control and i
I want to upload image file into couchdb using javascript. For this i am
I want to use uploadify to upload my multiple images. What is scenario I
I'm trying to use uploadify to upload images to a remote server. I've have
I'm using Uploadify to upload some images with ASP.NET. I use Response.WriteFile() in ASP.NET
I'd like to use javascript or jQuery to crop and compress an image on
I am planning on using, either the Uploadify or Plupload, image upload libraries in
I'm trying to upload images with Uploadify but I run into IO error. I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.