Format page to contain preview of image