keydown namespace and photo indexes