Optimize header image size.