Presented a multipurpose image watermarking algorithm.The watermarking algorithm embedded both robust watermark and fragile watermark to achieve the goal of image content authentication and alteration hint simultaneously.The experimental results demonstrated that the robust watermark was robust to many attacks and the fragile watermark was fragile,so it has realized the image copyright protection and alteration hint.It also realized the blind detection of original watermarking effectively.