Gallery is the very first place where we look for images and videos to play, because photos and videos from different apps and folders are synchronized and managed as a portrait in Gallery app. Whenever the Gallery app is opened, it scans for media files in the directories and loads its references into the application, hence Gallery app will overflow with lots of pictures and videos from various apps media folders in the SD card and Internal memory, so the user would fumble to view the actual images what he/she is looking for.
In the case of popular social messaging app "Whatsapp" it's not every time we receive and share fun images and videos, sometimes awkward media files would also fill the Whatsapp media folders which will automatically reflect on the Gallery app. Since Whatsapp is like a private chat most probably we protect it with passwords and pattern lock, but not in the case of Gallery app. So when someone sneaks into our Gallery app, they can see the pictures and videos that we don't want other's to see.
How to Remove "Whatsapp" Pictures, Videos, Music Files From Gallery App in Android Mobile
Android application, defends their media files by creating dot naming system files in their folder location. Since Android, Linux operating system runs in the kernel, folders with .Nomedia system files are ignored by the media scanner search.
However Gallery App scans media files from an application which doesn't
defend its data from being invoked in Gallery app, since by default
Whatsapp doesn't block its media files from being scanned by another app
in the android mobile, hence they are automatically loaded in Gallery
app and the music app. So to prevent and hide Whatsapp images and videos
from displaying on Gallery app and Music app, follow these simple
tricks below.
- Create .nomedia file: To create a .nomedia file, In windows create a empty notepad file and save as file name .nomedia and save as type Allfiles.
- System files are different from notepad file, even though you are creating .nomedia file with notepad its not a text file its a .nomedia file type when saved as type Allfiles. Always ensure the type of file you are creating.
Identify .nomedia and .nomedia txt files - Now transfer the .nomedia system file into your mobile through bluetooth, wifi, data cable or any other transmission medium. Note: Since .nomedia is a system file by default it will be set hidden, To view the .nomedia file uncheck hide system files in folder settings.
Un-check Hide System Files - Then move .nomedia file to the folder that you want to exclude its media files such as photos and videos from reflecting on Gallery App. For Example: To remove whatsapp images from gallery app, place the .nomedia files into the whatsapp image folder.
Add .nomedia file in whatsapp media folder to exclude both videos and images - If you want to exclude only whatsapp images from Gallery App simply add the created .nomedia file into the whatsapp image folder only.
- And you're done, Like this you can exclude any folder media files from loading into Gallery App.
Note: Usually the changes will reflect instantly, if not we recommend you to reboot the phone to make the changes.
Unhide and Show Whatsapp images and videos in Gallery App and Music App
To unhide and display the images that were marked to ignore from media
scanner search, simply remove the .nomedia system files from the
respective folders.
Once the .nomedia system files are removed, photos and videos
will not appear immediately it requires a restart. If even after the
reboot if the Gallery App and Music App does not include the media files
from whatsapp and other apps. Goto Settings > Apps > Media Scanner > Clear Cache.
Hope you enjoy this article, and do comment for any queries and guide with the above process and like and share with your friends and family.
Hope you enjoy this article, and do comment for any queries and guide with the above process and like and share with your friends and family.