diff --git a/gp-file-upload-pro/gpfup-require-camera.js b/gp-file-upload-pro/gpfup-require-camera.js index 299d8865e..818ac7809 100644 --- a/gp-file-upload-pro/gpfup-require-camera.js +++ b/gp-file-upload-pro/gpfup-require-camera.js @@ -13,6 +13,8 @@ */ gform.addAction( 'gpfup_uploader_ready', function( gpfup ) { gpfup.Uploader.bind( 'PostInit', function() { - $( gpfup.$field ).find( 'input[type="file"]' ).attr( 'capture', 'camera' ); + $( gpfup.$field ).find( 'input[type="file"]' ) + .attr( 'capture', 'camera' ) + .attr( 'accept', 'image/*' ); }, gpfup ); } );