Thermal imaging system with a two-phase ternary mixture of liquids