Forum:Why didn't harry ron and hermione talk to dumbledore's potrait when they were in the battle in the sixth book?

The principals of hogwarts all go into a potrait of themselves when they die. Dumbledore's portrait is shown at the end of the sixth movie and book. Harry Ron and Hermione could have asked him for help at any time looking for the horcruxes but they chose not to. Why?