trying to compress img to load faster