Need a script refined bugs worked out image uploading

  • Status: Closed
  • Prize: $60
  • Entries Received: 25
  • Winner: naumanrandhawa

Contest Brief

I have a script that uploads up to 17 images per page using phonegap / javascript. The number of images vary from page to page

example would be:
page 1: image 1, image 3, image 4
page 2: image 2, image 3, image 17

the image locations are pulled from a local database. The script should check the file exists, if it exists upload it to the server, grab the next image until all images are uploaded, continue to page 2 repeat.

I currently have a working script but when several images are uploaded at once the page breaks. The images should be uploaded recursively. This should be an easy project for somebody fluent in html5 and javascript.

I need this done asap. More work for the winner will be allocated as needed and if desired.
Approximate completion should be less than one hour

Recommended Skills

Public Clarification Board

  • mohamedgb007
    mohamedgb007
    • 11 years ago

    you give me an example of html code that will make the work easy if you cant if you cant i will build my own html pages

    • 11 years ago
    1. BidWhale
      Contest Holder
      • 11 years ago

      example code posted

      • 11 years ago
  • BidWhale
    Contest Holder
    • 11 years ago

    all in javascript

    • 11 years ago
  • BidWhale
    Contest Holder
    • 11 years ago

    if (vaddp1 !=""){
    uploadPhoto(vaddp1, site_id, theUnit, "add_p1", window.GLOBALsCUST, fsite_name);
    window.GLOBALnumberPICS++;
    }


    if (vaddp2 !=""){
    uploadPhoto(vaddp2, site_id, theUnit, "add_p2", window.GLOBALsCUST, fsite_name);
    window.GLOBALnumberPICS++;
    }


    if (vaddp3 !=""){
    uploadPhoto(vaddp3, site_id, theUnit, "add_p3", window.GLOBALsCUST, fsite_name);
    window.GLOBALnumberPICS++;
    }


    if (vaddp4 !=""){
    uploadPhoto(vaddp4, site_id, theUnit, "add_p4", window.GLOBALsCUST, fsite_name);
    window.GLOBALnumberPICS++;
    }

    • 11 years ago
  • BidWhale
    Contest Holder
    • 11 years ago

    Main Page









    window.GLOBALnumberPICS = 0;
    window.GLOBALuploadedPIC = 0;
    var windowFSP;
    windowFSP = "";
    window.addEventListener('load', function(){
    document.addEventListener("deviceready", onDeviceReady, false);
    }, false);
    function onDeviceReady() {
    window.requestFileSystem(LocalFileSystem.PERSISTENT, 0, onFS, null);

    • 11 years ago
  • atiqcsecu0506su
    atiqcsecu0506su
    • 11 years ago

    can you give your current working link. it will help to understand what you are actually asked for. if you can't then answer the folling question
    1. Is the pages are paginated in one page? Or how do you select multiple images over different url/page?
    2. is there any problem with php script? if not I have already one i could deliver in one hour*
    skype: atiqur_wempro

    • 11 years ago
    1. BidWhale
      Contest Holder
      • 11 years ago

      its inside a phonegap app .... it basically allows a web designer to build an app inside a phone. Ihave the pages enumerated like upload1.html and use document.location.href = uploader2.html, 3.html etc

      • 11 years ago
  • BidWhale
    Contest Holder
    • 11 years ago

    I can pay more if the job requires. Be fair with me and I'm fair. At the end of the day i need this working

    • 11 years ago
  • BidWhale
    Contest Holder
    • 11 years ago

    Everything is done in html / javascript

    • 11 years ago
  • BidWhale
    Contest Holder
    • 11 years ago

    it is in the format of uploader_pg1.html => upload images, check images, if x of x uploaded move to page uploader_pg2.html repeat

    • 11 years ago
  • mohamedgb007
    mohamedgb007
    • 11 years ago

    I did not understand how you want the pages appears in html

    • 11 years ago
  • BidWhale
    Contest Holder
    • 11 years ago

    When the project is accepted. it currently does not upload one image at a time rather all images at once....

    • 11 years ago
  • mohamedgb007
    mohamedgb007
    • 11 years ago

    hello you can show me the working script you have

    • 11 years ago

Show more comments

How to get started with contests

  • Post your contest

    Post Your Contest Quick and easy

  • Get tons of entries

    Get Tons of Entries From around the world

  • Award the best entry

    Award the best entry Download the files - Easy!

Post a Contest Now or Join us Today!