The rapid advancement of IoT has significantly transformed the healthcare sector, leading to the emergence of the Internet of Medical Things (IoMT). Ensuring the security and privacy of medical data is crucial when integrating with smart and intelligent sensor devices within the hospital environment. In this context, we propose a lightweight crypto-compression scheme based on Elliptic Curve Cryptography (ECC) and Chaos theory to secure the medical images in IoMT Applications. The primary innovation in this method involves generating dynamic S-box and keys using the ECC mechanism and PieceWise Linear Chaotic Map (PWLCM). The Wavelet Transform Technology is employed in compression, and the compressed images are secured within an IoT framework. The proposed methodology has been performed in the experiments on various medical images. The findings and Security analysis reveal that the proposed method is more powerful and useful for secure medical image transmission in the IoT ecosystem.