The magic of a portrait or photograph depends mainly on two factors.
First is its creator.
Just like the portraits in the Daily Prophet, or the photos of Professor Lockhart Gilderoy Lockhart that once covered the entire Defense Against the Dark Arts Office, they could all display a certain amount of magic... but only to moving around or waving their hands, and empty shouting of some "slogans".
The portraits posted on campus, such as those of the Fat Lady's portrait and Sir Cadogan, are imbued with greater magic due to the more advanced spells cast by the wizards who painted them... They possess a certain degree of consciousness and can easily communicate with the wizards.
The second point is related to the power of the wizard depicted in the portrait during his lifetime.
Generally speaking, the more powerful a wizard is, the more magical their portrait will be after death.
For example, these portraits of former principals... they not only possess independent consciousness, but also memories of their lives. They can freely "visit" among the portraits in the school, and even move freely between their own portraits (even those located across the ocean).
Every headmaster in Hogwarts' history has been a wizard of considerable renown, with most of them deserving a significant section in "The A History of Magic." The portraits of these headmasters, after their departure or death, were typically painted by the finest artists and then displayed on the wall of their Headmaster's Office.
Therefore, these portraits retain the personalities and memories of the principals during their lifetimes. They can autonomously offer certain suggestions to the current principal; and they can use their ability to travel through the portraits to send messages to the current principal...
Of course, not every headmaster's portrait could be displayed in the Headmaster's Office. The idea of hanging the headmaster's portrait in the Headmaster's Office after his death was first proposed by Brian Gegwell, the fourth headmaster of Hogwarts, in 1098 AD before his death, and was approved by every headmaster after him.
The first three principals were not included, so there are always three empty portraits on the top layer of the portrait wall.
Jon patiently finished tidying up the portrait wall and removed the dust from each portrait.
Looking at the jubilant old headmasters embracing and celebrating, and listening to the noise they were making, Jon shook his head helplessly. He turned around and went to the other side of the room.
"Reparo!"
Jon waved his Wand, causing the scattered silverware on the floor to return to the table and return to normal.
After about fifteen minutes of work, the last silver mouse was safely placed back on the table, and the Headmaster's Office seemed to return to its usual state.
Unfortunately, Professor Dumbledore is no longer with us; and Fawkes is nowhere to be seen beside the Phoenix perch on the table.
"So, Professor Dumbledore called me to his office just to be a cleaner?" Jon muttered as he plopped down in Dumbledore's seat.
The cushion under the seat is so soft and fluffy; I must say it's quite comfortable to sit on.
As he sat down, Jon idly opened Dumbledore's drawer, wondering if his beloved headmaster had left any "relics".
The drawer on the left contains a drawer full of all kinds of candies; you can find all the styles you can see in Honeydukes candy stores here.
Jon stuck out his tongue and closed the drawer again... He then opened the right drawer, inside which was a brand new pair of wool socks. Jon quickly closed it again, deciding not to invade Dumbledore's privacy...
Next, Jon went to the bookshelf under the Phoenix perch, gently opened it, and looked at the hundreds of books neatly arranged inside. These were all books from the collections of the former headmasters of Hogwarts. Jon took a book from it, "The Secrets of the Darkest Art"... no, it seemed to have been given to him as a gift by Dumbledore.
It has to be said that Jon had long coveted the books here... Most of these books could not even be found in the Restricted Section of Hogwarts.
But now that Dumbledore isn't here, Jon isn't going to be polite anymore... He's thinking about how to avoid the attention of these headmasters and secretly borrow one or two books to take back to his dormitory.
As he pondered this, Jon opened a book titled "Advanced Potions: Tips to Increase the Success Rate of Felix Felicis."
Half an hour later, Jon finally emerged from the profound content inside.
Jon had already spent enough time in the Headmaster's Office, and he suspected that staying any longer might arouse suspicion... As the Headmaster's Assistant, his prolonged absence from the other Slytherin students would seem highly suspicious.
And those Slytherin friends might think they've been attacked by an angry Gryffindor student, and then they'll be searching the whole school for them!
As Jon stood up, he casually stuffed the book "Advanced Potions" into his pocket.
"Books are not allowed to be taken out of here!" Headmaster Black Phineas Black's lazy voice rang out from behind.
"Dear Headmaster Black ..." Jon quickly said with a smile, "Could you please make an exception?"
"No!" A stern voice came from the top of the portrait wall.
Seeing the gloomy face of Principal Oliver Headmaster Cromwell, Jon quickly put the book down.
"You can come back tonight to continue watching!" Headmaster Black Phineas -Black continued in that languid voice, "If I remember correctly, Armando is Potions expert. I took the Felix Felicis he concocted back then... it felt absolutely amazing! He can also give you some advice."
"That's right." Headmaster Dippet Armando Dippert, who looked quite weak, nodded.
"But I don't have a legitimate reason to come over tonight?" Jon shook his head, looking somewhat troubled.
"That's easy!" Headmaster Black Phineas -Black suddenly perked up. "You can make an Invisibility Cloak. I made one when I was exploring Algeria in my youth, and it helped me get away from countless dangers..."
"You've said this a million times already, aren't you tired of it, Phineas!" Headmaster Foster Dexter Foster shook his head dismissively. "Making Invisibility Cloak requires a complete pelt of Demiguise. You're asking Jon to get it?"
"Listen to me, kid, you should learn the Disillusionment Charm. Although it's not as effective as the Invisibility Cloak, it's still quite useful for fooling people at night..." Headmaster Foster Dexter Foster continued, looking excited.