Scaling images to fit page sizes and presentation layer modifications