Use a 3rd party browser. I recommend that you use a Xplore or fileman application.Now select any media file that you want to hide in gallery and click option/ operation/set attribute. Now in attribute settings go to hide option and change N0 to Yes. Well Done!