cancel image when the total size is 0.