Added ability to use photo zaxis to api