add image detection