In the top menu, you will either see a navigation menu icon or your profile icon. Tap whichever icon you have, and select Settings and privacy.
Tap Privacy and safety.
Under Safety, check the box next to Display media that may contain sensitive content.