Title: Android image upload problem
Last modified: March 8, 2021

---

# Android image upload problem

 *  [teeboy4real](https://wordpress.org/support/users/teeboy4real/)
 * (@teeboy4real)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/android-image-upload-problem/)
 * Hello,
 * A lot of my users are complaining that its difficult to upload images from their
   android phone and this problem usually occurs with images taken with the android
   phones camera, but if the image file is selected from any another folder it will
   upload perfetly. Only images in the camera folder cannot be uploaded.
 * Thanks

Viewing 10 replies - 1 through 10 (of 10 total)

 *  Plugin Author [Greg Winiarski](https://wordpress.org/support/users/gwin/)
 * (@gwin)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/android-image-upload-problem/#post-14153862)
 * Can you send some more details? what does happen when the users are trying to
   upload their images?
 *  Thread Starter [teeboy4real](https://wordpress.org/support/users/teeboy4real/)
 * (@teeboy4real)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/android-image-upload-problem/#post-14155392)
 * see video at [https://youtu.be/v-e0QsK0QXs](https://youtu.be/v-e0QsK0QXs)
 * Please not that only images selected in the camera folder are not uploading, 
   all other images located in other folders are uploading successfully. Also note
   that my max upload limit is set at 20MB.
 *  Plugin Author [Greg Winiarski](https://wordpress.org/support/users/gwin/)
 * (@gwin)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/android-image-upload-problem/#post-14159742)
 * Thanks for the video, usually when this happens it is because there is not enough
   memory on the phone itself.
 * Can you replicate this problem on the demo site here [https://demo.wpadverts.com/lite/adverts/add/](https://demo.wpadverts.com/lite/adverts/add/)
 * Also please note that your website shows 21 JavaScript errors in the developer
   console so it would be best to start with fixing those problems to make sure 
   there isn’t some JavaScript error preventing the upload from working properly.
 *  Thread Starter [teeboy4real](https://wordpress.org/support/users/teeboy4real/)
 * (@teeboy4real)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/android-image-upload-problem/#post-14159959)
 * Hello,
 * The same issue occured at the demo site here [https://demo.wpadverts.com/lite/adverts/add/](https://demo.wpadverts.com/lite/adverts/add/)
   while using my android browser. I used both chrome and firefox android browser
   for the demo site and it will not accept any image in the CAMERA FOLDER but its
   accepting images in all other folders.
 * Also if my phone memory was full then images in other folders should not upload.
   The issue is with images located in the CAMERA folder of the phone.
 * I also tried using another friends phone and the issue still occured.
 *  Thread Starter [teeboy4real](https://wordpress.org/support/users/teeboy4real/)
 * (@teeboy4real)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/android-image-upload-problem/#post-14160670)
 * I also found out this issue also occurs with trying to upload images directly
   via camera usage that is upload images directly using phone camera upload process
   instead of selecting image file from a folder.
 *  Plugin Author [Greg Winiarski](https://wordpress.org/support/users/gwin/)
 * (@gwin)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/android-image-upload-problem/#post-14165531)
 * I am able to replicate it only with files over 2MB, which is the file size limit
   on the demo site.
 * You wrote that you have the file size limit set to 20MB, but do you have this
   limit in WPAdverts Custom Fields when editing the Gallery or for WordPress as
   well?
 * You should have it for both the WPAdverts CF and WordPress.
 *  Thread Starter [teeboy4real](https://wordpress.org/support/users/teeboy4real/)
 * (@teeboy4real)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/android-image-upload-problem/#post-14167011)
 * I changed both WPAdverts CF and WordPress max upload file size limit to both 
   16MB but the issue still persists
 *  Plugin Author [Greg Winiarski](https://wordpress.org/support/users/gwin/)
 * (@gwin)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/android-image-upload-problem/#post-14171170)
 * Try adding the code below in your theme functions.php file, this seems to fix
   this issue for me
 *     ```
       add_filter( "adverts_plupload_default_settings", function( $init ) {
           unset( $init["max_file_size"] );
           return $init;
       });
       ```
   
 *  Thread Starter [teeboy4real](https://wordpress.org/support/users/teeboy4real/)
 * (@teeboy4real)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/android-image-upload-problem/#post-14172495)
 * YES YES YES, this fix the problem images are being uploaded now, but ill like
   to know what that code does, also I believe other WP Adverts users might be facing
   this same issue. Why not add this fix to the WP Adverts core plugin as an update.
 * Thanks
 *  Plugin Author [Greg Winiarski](https://wordpress.org/support/users/gwin/)
 * (@gwin)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/android-image-upload-problem/#post-14182191)
 * This code removes the file upload limit derived from the WordPress settings.
 * I will remove it in the next WPAdverts release as well.

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘Android image upload problem’ is closed to new replies.

 * ![](https://ps.w.org/wpadverts/assets/icon-256x256.png?rev=2423472)
 * [WPAdverts - Classifieds Plugin](https://wordpress.org/plugins/wpadverts/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wpadverts/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wpadverts/)
 * [Active Topics](https://wordpress.org/support/plugin/wpadverts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wpadverts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wpadverts/reviews/)

 * 10 replies
 * 2 participants
 * Last reply from: [Greg Winiarski](https://wordpress.org/support/users/gwin/)
 * Last activity: [5 years, 2 months ago](https://wordpress.org/support/topic/android-image-upload-problem/#post-14182191)
 * Status: not resolved