image detection working with foes template. (friends also give false positives)