In this paper, a novel steganographic scheme is proposed based on chaotic map in the DCT domain. The proposed method apply the DCT on the cover image, scan the AC coefficients in a zigzag form from the least significant to the most significant one, this scan will lead us eventually to precise the embedding positions through a chaotic function as well as the maximum allowed payload relative to a computed SSIM threshold. A quantitative study shows the check of the designed method to the requirement of imperceptibility and flexibility.