compress image, fix screen width