Delete picture functionality