Get photo type