When you download a media file, it'll automatically be saved to your phone's gallery. The Media visibility option is turned on by default. This feature only affects new media that's downloaded once the feature has been turned on or off and doesn’t apply to old media.
Alternatively, you can create a
.nomedia file in the WhatsApp images folder. Please note this will hide all your WhatsApp photos from your phone's gallery.
.nomedia, including the period.
If you want to view your photos in your phone's gallery later, simply delete the