Decrease image size and remove unused images