Better image detection