Images lost on all devices and ankiweb

Hey I just sinked my AnkiWeb media to my iPhone and now all images are gone on both the my iPhone iPad, MacBook and AnkiWeb, is there a way to recover them and how do I prevent this?

I hope this isn’t to late, thank’s in advance for your help.

I’m sorry I have to correct myself, the collection on my MacBook is still intact and I exported the collection to my desktop, in case the helps.

I just solved the problem in my case I had to open up preferences and than make sure you click the 3rd box this allows pictures to synchBildschirmfoto 2021-04-16 um 08.14.34 Bildschirmfoto 2021-04-16 um 08.15.53