There is a Pages document. I need to export a image from it. Simply dragging the image to the desktop does not work. Right-clicking in the menu doesn’t export either.

You have to go to File > Add-ons > Change file type > Package to get the images.

Save the document.

Click on the document and select Show package contents.

All images from the document will be in the Data folder.