added gzip compression for image retrieval