Can I get a file upload for only existing images on mobile device - remove camera as an option?How to upload image from android camera to webserver (NOT IN APP)Resize image taken from gallery or camera, before being uploadedCannot display HTML stringPHP file upload via FTP - Doesn't work with Android cameraHTML + JQUERY - Input type file added dynamically not work attribute capture = 'camera' on mobileFile upload works on desktop, but not on mobile using cameraCamera is giving very big size image on deviceHow to disable Camera option for file upload from mobile-browser?How to upload captured image from Camera to a webviewCapturing image frames in YUV_420_888 format using ImageReader in Camera API 2 not giving correct results in dual camera devices

Why would a Intel 8080 chip be destroyed if +12 V is connected before -5 V?

The little bee buzzes around the flower garden

Finder/Terminal: Find files that contain less than 21 lines of text

Typesetting a comma unless before a line break

In-universe, why does Doc Brown program the time machine to go to 1955?

Importance of electrolytic capacitor size

Is torque as fundamental a concept as force?

How could it be that the capo isn't changing the pitch?

How to find better food in airports

Does POSIX guarantee the paths to any standard utilities?

Can a country avoid prosecution for crimes against humanity by denying it happened?

What happens if I double Meddling Mage's 'enter the battlefield' trigger?

slowest crash on the Moon?

Why did the VIC-II and SID use 6 µm technology in the era of 3 µm and 1.5 µm?

What does "se jouer" mean here?

Is it rude to ask my opponent to resign an online game when they have a lost endgame?

If I have an accident, should I file a claim with my car insurance company?

IEEE Registration Authority mac prefix

pruning subdomains of other domains in a file using script (bash, awk or similar)

Are language and thought the same?

Does order of events matter in Bayesian update?

Punishment in pacifist society

Strange formulas that gave rise to Koszul duality

How do you manage to study and have a balance in your life at the same time?



Can I get a file upload for only existing images on mobile device - remove camera as an option?


How to upload image from android camera to webserver (NOT IN APP)Resize image taken from gallery or camera, before being uploadedCannot display HTML stringPHP file upload via FTP - Doesn't work with Android cameraHTML + JQUERY - Input type file added dynamically not work attribute capture = 'camera' on mobileFile upload works on desktop, but not on mobile using cameraCamera is giving very big size image on deviceHow to disable Camera option for file upload from mobile-browser?How to upload captured image from Camera to a webviewCapturing image frames in YUV_420_888 format using ImageReader in Camera API 2 not giving correct results in dual camera devices






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















Firefox on Android doesnt support taking an image with the camera and attaching it to form.. only attaching an existing image (https://caniuse.com/#search=html%20media%20capture)



Therefore I want to make it so that when the user clicks, the upload dialogue only offers Images folder not Camera option.



I am fine with detecting the use of FF and android... I just want to change the attributes in that case so that only existing images are offered so as to not make the user think they can take an image... as it doesn't attach so will end up failing!



Is this even possible?



I've tried taking the "Capture" attribute out altogether but that doesnt work



<input id="theFile" name="theFile" type="file" size="260" accept="image/*" />


and



<input id="theFile" name="theFile" type="file" size="260" accept="image/*" capture/>









share|improve this question






























    0















    Firefox on Android doesnt support taking an image with the camera and attaching it to form.. only attaching an existing image (https://caniuse.com/#search=html%20media%20capture)



    Therefore I want to make it so that when the user clicks, the upload dialogue only offers Images folder not Camera option.



    I am fine with detecting the use of FF and android... I just want to change the attributes in that case so that only existing images are offered so as to not make the user think they can take an image... as it doesn't attach so will end up failing!



    Is this even possible?



    I've tried taking the "Capture" attribute out altogether but that doesnt work



    <input id="theFile" name="theFile" type="file" size="260" accept="image/*" />


    and



    <input id="theFile" name="theFile" type="file" size="260" accept="image/*" capture/>









    share|improve this question


























      0












      0








      0


      1






      Firefox on Android doesnt support taking an image with the camera and attaching it to form.. only attaching an existing image (https://caniuse.com/#search=html%20media%20capture)



      Therefore I want to make it so that when the user clicks, the upload dialogue only offers Images folder not Camera option.



      I am fine with detecting the use of FF and android... I just want to change the attributes in that case so that only existing images are offered so as to not make the user think they can take an image... as it doesn't attach so will end up failing!



      Is this even possible?



      I've tried taking the "Capture" attribute out altogether but that doesnt work



      <input id="theFile" name="theFile" type="file" size="260" accept="image/*" />


      and



      <input id="theFile" name="theFile" type="file" size="260" accept="image/*" capture/>









      share|improve this question














      Firefox on Android doesnt support taking an image with the camera and attaching it to form.. only attaching an existing image (https://caniuse.com/#search=html%20media%20capture)



      Therefore I want to make it so that when the user clicks, the upload dialogue only offers Images folder not Camera option.



      I am fine with detecting the use of FF and android... I just want to change the attributes in that case so that only existing images are offered so as to not make the user think they can take an image... as it doesn't attach so will end up failing!



      Is this even possible?



      I've tried taking the "Capture" attribute out altogether but that doesnt work



      <input id="theFile" name="theFile" type="file" size="260" accept="image/*" />


      and



      <input id="theFile" name="theFile" type="file" size="260" accept="image/*" capture/>






      android html forms firefox






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Mar 28 at 2:34









      Aaron ItzerottAaron Itzerott

      11 bronze badge




      11 bronze badge

























          0






          active

          oldest

          votes










          Your Answer






          StackExchange.ifUsing("editor", function ()
          StackExchange.using("externalEditor", function ()
          StackExchange.using("snippets", function ()
          StackExchange.snippets.init();
          );
          );
          , "code-snippets");

          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "1"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55389347%2fcan-i-get-a-file-upload-for-only-existing-images-on-mobile-device-remove-camer%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes




          Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.







          Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.



















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55389347%2fcan-i-get-a-file-upload-for-only-existing-images-on-mobile-device-remove-camer%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

          Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

          Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript