A novel 2,6-diformyl-4-methylphenol based chemosensor for Zn(II) ions by ratiometric displacement of Cd(II) ions and its application for cell imaging on human melanoma cancer cells.