fixed the pages for the images