delete photo backend