Go to Settings by clicking on the three vertical dots in the upper right corner
On the next menu screen that opens, select "Data and storage usage"
Under "Media auto-download" there are three points with different traffic types: mobile data,Wi-Fi and roaming
Take turns in each of them and uncheck the "Photos" option (you can also do this for other file types).
Download the current version of WhatsApp to read on how to protect yourself from ridiculous memes!