remove single photo routing and code