added task to compress images