added photo index to url hash