Report failures to generate a page, and fix the current failure.
Fix image padding