Header adjusted to gzipped images