I've used \newgeometry \restoregeometry to change the margins of one page so I can fit two images onto it. However as a result of this, the page number for that page has disappeared. The page is still counted, as the page following that (with the restored margins) has a page number as if the page before existed.
The page layout is rather strict. There are certain rules in the
So in your case the footer disappears from the paper. This can be circumvented by adjusting the length
Whenever in doubt of how the pagelayout is put, add the
Here is an example:
This will produce the following two pages: