Hide Whatsapp Photos from Appearing in Android Gallery

| September 29, 2012 | Comments (5)

Whenever we copy any pictures to the SD Card of our android smartphone the gallery application scans it and loads the images into from it. The image no matter placed in what folder will be displayed in the gallery. Sometimes, we want to store images in our smartphone without it being displayed to everyone who uses our phone (as in Gallery). To do this there are many apps available on Google Play Store but there is a far easy method.

Simple make a blank text document inside your folder where you have stored the private pictures and rename it to .nomedia

Whatsapp stores the images in Whatsapp > Media > WhatsappImages so place the .nomedia file in this folder.

Yes you are done, it is this simple. The gallery app won’t scan this folder for any pictures or videos or anything.

For more beginners the step by step instructions are given below:

  1. Make a new text document in the folder where your images are stored. You can mount your device as a disk drive, browse to the folder and Right Click > New Text Document.
  2. Unmount your SD Card and use any file manager software (I used Astro File Manager) to rename that file to .nomedia
  3. Restart your phone.

Another easy way to do this task is by renaming your folder and adding a dot before its name. This way also the folder won’t be scanned. I prefer the first method because it looks neat and I don’t like folder names with dot in it.

In ICS or Honeycomb this process might not work because gallery data is stored in cache. Simple solution as given at (Link) is to go to Settings > Apps > Gallery and Clear Data + Force Stop. Repeat same for Media Storage App and reboot.

Category: How To's

About Aman: I am a PHP programmer, Wordpress enthusiast and part time blogger. I will post wordpress tutorials, programming articles and latest Web Tech news.

Comments (5)

Trackback URL | Comments RSS Feed

  1. leon says:

    Thanks for ur great post.
    it works perfectly after I clear my cache and force stop.

  2. Mike says:

    There is an android application that does exactly this:

  3. dre says:

    will this work for whatsappaudio and whatsappvideo folders?

  4. parag says:

    I want to hide my videos file from gallery. Am not getting how to do that.

  5. Daniel says:

    It seems to work perfectly fine but when new items arrive to the Whatsapp’s picture folder, the new pics start to be shown in the Gallery, only the new items after created the .nomedia file :-/

Leave a Reply

If you want a picture to show with your comment, go get a Gravatar.