This question already has an answer here:
Dumbledore dies in book 6
A portrait appears of him (same as all other former headmasters) in his old office and is able to talk, display emotions, and show intelligence.
If this is really
Why didn't someone find a way to make a portrait for Lily and James Potter, so that they(their portrait that seems to be exactly the) could communicate, not just for Harry's sake, but there would definitely be some propoganda and strategic value for them being able to communicate.