Realize picture delete function