added some better compression to images