In the first, namely the photograph the poet speaks about her mother and says that she misses her and her smile. She sees her photograph and realises that she has lost a great valueable thing in her life. Thus she feels lonely.
On the other hand, in the potrait of a lady the narator speaks about his grandmother who used to be a part of his life when he was a child. Now when he has grown up maybe he doesnt require her much but when she died he realises what he has lost.
Therefore the link between the two chapters is that both have the part of realisation of the value of a thing once lost. This says us that we human beings arent usualy able to value things we have but do understand the value of things we have lost or we dont have.