Feature Request - Filepicker Upload Needs Option To Remove Interstitial Page

  • Profile Image
    markashton
    Asked on November 27, 2013 at 10:36 AM

    Please pass to Dev ... and especially Ken

    The Filepicker service... on clicking the button in a form on a smartphone goes to an interstitial filepicker page that gives the option of choosing a photo from the cloud ... or taking/choosing one from your smartphone.

    There is a problem. On a smartphone ... the interstitial page that filepicker generates often gets "killed" by the iOS or Android OS so that the upload fails.

    I put this to the CEO of filepicker ... saying that most Jotform clients would be interested in smartphone users either taking a photo ... or uploading one from their camera roll .... and would it be possible to have a choice to miss out the interstitial page completely ....

    This is what he said .....

     

    Hi there - if the customization is the only need, and you don't actually want the interstitial/cloud sources, then this becomes pretty easy. Instead of putting a filepicker input in the page, just use a normal file input, like so:

    And then, add this bit of code:

    document.getElementById("myCoolFileInput").onchange = function(){

        if (!this) {console.log("No file selected"); return;}

     

        filepicker.store(this, function(inkblob) {

            console.log("A nice url as before: ", inkblob.url);

        });

    });

     

    Since there's nothing to customize between apps, you only need a single app! Even better, since now you can work with an arbitrary number of S3 buckets per application, you can even store the file in the customer's S3 bucket, all from a single api key

    Also ... Filepicker has recently changed its pricing ... meaning that one cannot have different interstital pages branded to individual forms ... unless you want to pay a fortune.
    This sorts the problem. 
  • Profile Image
    Welvin
    Answered on November 27, 2013 at 02:07 PM

    Hi Mark,

    Thank your for the time for gathering the information. I have forwarded this thread to Kenneth per your request.  I think he's offline as of this time so expect him maybe later or tomorrow.

    Thanks

  • Profile Image
    markashton
    Answered on December 11, 2013 at 07:28 AM

    Hi,

    The filepicker service works very well ... I have some great projects going on with photo uploads using the filepicker service.

    As all my projects are concerned with taking a photo or choosing one from the camera roll .... it is cumbersome for users to have to go to the interstitial page ... that is of no use in this scenario as no cloud services are being chosen.

    All users have to click through this page to get through to the photo function of the smartphone ... this is bad becuase windows and blackberry smartphones have not been configured for this interstitial page ... and so they cannot be targeted ... also the extra step confuses users .....

    So, it is ideal for the jotform platform to build in the option of by-passing the interstitial page if a developer chooses so (like me).

    The scenario proposed by the founder above ... in the first post ... provides the script necessary to do this.

    Could we build this option into the filepicker widget please? 

    Many Thanks

  • Profile Image
    markashton
    Answered on December 11, 2013 at 07:49 AM

    What we are talking here is to get the same behaviour as the transloadit upload function on a smartphone

    If you try the transloadit upload function on a smartphone you will see that it is very neat and does not leave the form at any time ...... 

    http://form.jotformpro.com/form/33366004254952

    This is what we require with filepicker ... but it does need a progress bar like transloadit's to appear on the form

    Thanks Mark

     

     

  • Profile Image
    markashton
    Answered on January 27, 2014 at 06:49 AM

    Hi,

    The filepicker integration is working nicely ... photos are sent to filepicker ...  Exif data processed so that photos are the right orientation ... stored in Amazon S3 ... Jotform has a great grid to display them ... and when they are deleted from jotform they are also deleted on Amazon S£.

    It is a great solution.

    Problem is that, on a smartphone, the interstitial filepicker web-page often gets killed by the browser .. when doing an upload.

    The solution for those like me just interested in users uploading photos ... is to remove the interstitial page ....

     

    The CEO of filepicker said this ....

     

    Hi there - if the customization is the only need, and you don't actually want the interstitial/cloud sources, then this becomes pretty easy. Instead of putting a filepicker input in the page, just use a normal file input, like so:

     

    And then, add this bit of code:

    document.getElementById("myCoolFileInput").onchange = function(){

        if (!this) {console.log("No file selected"); return;}

     

        filepicker.store(this, function(inkblob) {

            console.log("A nice url as before: ", inkblob.url);

        });

    });

     

    Could this be implemented in the Filepicker API widget please?

    Thanks mark

  • Profile Image
    Jonathan
    Answered on January 27, 2014 at 08:06 AM

    Hi Mark,

    Your latest message on this thread will notify the dev assigned with the ticket about it.

    I will also add to the comment section to inform our dev.

    Thanks.

  • Profile Image
    markashton
    Answered on April 22, 2014 at 10:24 AM

    Hi,

    Did Ken receive this ... he hasn't posted on it?

    In a nutshell ... the stupid filepicker service takes one to an interstitial page on smartphones that often gets killed in the browser by the iOS or Android OS.

    For uoloading photos this page is not really neccessary as advised by the CEO of the fiilepicker company. He advises it would be a very simple matter to provide an option for upload that doesn't require this interstitial page for uploading to filepicker.

    The upshot is that the filepicker upload would work a lot more ... on smartphones

    Can you advise please ... thanks Mark

  • Profile Image
    KadeJM
    Answered on April 22, 2014 at 11:27 AM

    Hi Mark, We really appreciate the further clarification about it. As my colleague stated I can confirm with you that we've assigned this thread to our Developer Kenneth. However, as of right now there is no further news about this yet. To my knowledge I know he has been extremely busy with previous threads and projects so I am fairly certain he will get to your request as soon as he can once he has more time freed up.

  • Profile Image
    stretchandstaple
    Answered on January 13, 2015 at 07:25 PM

    Mark,

    It seems like you have a lot of experience working with jotform and filepicker.  I have a form that I am trying to build where I need to use some of filepicker's more intricate functionality, do you think I could hire you to assist me?

  • Profile Image
    markashton
    Answered on January 15, 2015 at 06:32 AM

    Hi Stretchandstaple,

    Send an email to this address: xxxxxx detailing what you want done, form url etc and I'll take a look and come back to you.

    Many Thanks Mark

     

  • Profile Image
    ademisena
    Answered on April 05, 2015 at 11:39 PM

    Hi all, do you know if is possible upload the photo took by the widget "Take a Photo" directly to Dropbox?

     

    Regards,

  • Profile Image
    Ashwin
    Answered on April 06, 2015 at 01:22 AM

    Hello ademisena,

    You seems to have created one more thread for the same question. I have already responded to you on the following thread:  http://www.jotform.com/answers/546794-How-to-send-the-photo-captured-by-the-widget-Take-Photo-to-Dropbox#1 

    Thank you!