added photo api