also store gzipped image