fixed image resizing for all pages