How can I keep images from moving to different pages in writer?

i’m editing a long document in Writer. I anchor every image to a page and save the file. When I reopen the file, the images (most of them) have moved to other pages. How can I prevent this from happening?

I solved the problem. It was that I anchored the images to the page. Every time I added or deleted a page, the image would stay with the page it was anchored to, while the text etc. would change. When I re-anchored the images to paragraphs, the problem ceased.