The majority of scholars say that keeping photographs for memory is not permissible.
I believe that if these photos are digital and one keeps it for living children, that this is permissible. if one can get rid of it, that would be the best solution and the safest.