Here are the instructions on how to change that: https://faq.whatsapp.com/android/chats/configuring-auto-down...
The formatting is messed up for me, so here's an third party alternative:
https://drfone.wondershare.com/whatsapp/how-to-stop-auto-dow...