An 1,3,4-oxadiazole-based OFF-ON fluorescent chemosensor for Zn2+ in aqueous solution and imaging application in living cells.