Originally Posted by anshkhanna
In the Samsung native gallery app, it shows folders like whatsapp images which I don't want to see.
Place an empty file named .nomedia in the directory that you don't want to be visible in the gallery. If it's already in the gallery, then also rescan media afterward. Or simply reboot.
The .nomedia flag tells media scanner to ignore that directory.