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

  • SEARCH
  • Home
  • 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 939255
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T21:45:37+00:00 2026-05-15T21:45:37+00:00

I am using Jquery Uploadify for images upload with PHP, here i have multiple

  • 0

I am using Jquery Uploadify for images upload with PHP, here i have multiple instances of uploadify and and each instance is uploading images in different folders.

I want to second instance of uploadify will start uploading images only after first instance of uploadify uploaded selected image.

$(‘#listing_image’).uploadifySettings(‘folder’,’listing_image_TempImage’);
$(‘#listing_image’).uploadifyUpload();
$(‘#listing_image1’).uploadifySettings(‘folder’,’listing_image1_TempImage’);
$(‘#listing_image1’).uploadifyUpload();

i.e ‘listing_image1’ will get call when processing of ‘listing_image’ will be completed.
How can I achieve this behavior?

  • 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-05-15T21:45:38+00:00Added an answer on May 15, 2026 at 9:45 pm

    I cant add a comment to you’r answer yet. So i’m writing it here instead.

    Try to make one upload work by using this (make sure the links point’s to the correct locations):

    $('#listing_image').uploadify({
        'uploader'  : 'uploadify.swf',
        'script'    : 'uploadify.php',
        'cancelImg' : 'cancel.png',
        'folder'    : '/listing_image_TempImage',
        onComplete: function(){ 
            // Do oncomplete stuff. 
        }
    });
    

    When you can get that to work, then you should be able to make this work.

    var uploads = [2,4,5]; // Only number 2,4 and 5
    var numberofuploads = uploads.length; // How many is that?
    var folderlist = [0, '/folder1', '/folder2', '/folder3', '/folder4', '/folder5', '/folder6']; // List of folders to upload to
    var listingimageslist = [0, '#listing_image1', '#listing_image2', '#listing_image3', '#listing_image4', '#listing_image5', '#listing_image6']; // List of form selectors. 
    
    var folder = folderlist[uploads[0]]; // What folder should this form upload to
    var listingimages = listingimageslist[uploads[0]]; // With what selector can the form be found?
    if (numberofuploads > 1)
    {
        var next = 1; // What upload to initiate after this one?
    }
    initUpload(listingimages,folder); // make the upload thing work. 
    
    
    function initUpload(e,folder)
    {
        $(e).uploadify({
            'folder'    : folder,
            'uploader'  : 'uploadify.swf',
            'script'    : 'uploadify.php',
            'cancelImg' : 'cancel.png',
            onComplete: function(){ 
                var folder = folderlist[uploads[next]];
                var listingimages = listingimageslist[uploads[next]];
                next++
                if (numberofuploads != next)
                {
                    initUpload(listingimages,folder);
                }
            }
        });
    };
    

    I didn’t test the code, but you should be able to make it work if you know a bit of javascript.

    Remenber to have all your jQuery code in a $(document).ready like this:

    $(document).ready(function() {
     // Insert code here
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using Jquery Uploadify for images upload with PHP, here i want to
I have a plugin for uploading files using jquery uploadify. After calling a method
I'm using jquery and uploadify to upload photos to server. After uploading photos they
I'm pretty new to javascript and jQuery. I'm using Uploadify to upload images to
I am using 'Uploadify' Jquery plugin in my MVC 3.0 application to upload multiple
I'm using uploadifive (non-flash version of uploadify), for uploading with jquery and php I'm
I am using Uploadify/asp.net mvc 3 to upload images. Is it possible to display
I am using Uploadify v2.1.4 to upload images using ASP.Net C# FM 4.0. In
So I have ajax file upload partial (using Jquery Form plugin), it's working perfectly,
I am using uploadify jQuery plugin form here . Everything works fine on my

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.