add image toggle support