added photo registor