compresesd images as well as removed button