How to stop auto downloading and saving of pictures and videos on Ionic App

I have a chat application, where there is the possibility to send and receive media (photos and videos), so when I open the message page, it automatically downloads and saving up the media.

I want to stop the download and automatic saving of the media when opening an ionic page, I want it to happen as in WhatsApp, where we download images manually by clicking on it.

Is it possible to do it in ionic? If so, how to do it?

Your help please. Thank you