Definitely agree on the two points you mentioned. Showing pages that don't exist is annoying, and not auto-downsizing ridiculously huge pictures is annoying too. The auto-resize seems like it would be an easy fix. The imaginary pages, on the other hand, is a database issue that could be more difficult to track down.