When tragedy strikes, and a loved one is untimely taken away from us, we mourn them and look through pictures of them from happy times and reminisce, right? Well, turns out that the treatment of grief used to be pretty different back in the day.

According to BBC, in Victorian England, taking photographs of family members' corpses after they had passed on, became a way of commemorating the dead and dealing with the grief of losing them.

Two girls pose with their late mother, a father holds his deceased baby and a woman, with reddened cheeks sits with her toddler's pale body.

Such photography allowed families to preserve the images of their loved ones forever.

An entire family, poses around a deceased child who appears to lie asleep on the floor.

We speak, of course of a time when untimely death was not uncommon with fatal epidemics such as diphtheria, typhus, cholera, measles, scarlet fever and rubella running rife in the country.

In the 1800s, photography was relatively new and it was often after the death of a family member or a beloved child that people first thought of photographing them as a means of remembrance.

The youngest of five children, who was no more, was propped up against a stand for this picture.

A picture of twin babies, one of whom has passed on.

Long-exposure photographs allowed the dead to be photographed more clearly than the living due to their lack of movement.

The art was called 'memento mori' - literally meaning 'remember you must die'.

These strangely unsettling pictures were treated as a last chance to have a permanent record of a beloved child or mother and they featured families posing sullenly with the dead, who appeared to be asleep or reclining peacefully.

Since it was common for young children to succumb to rampant fatal diseases, parents used to have big families and these pictures would often be all they have.

At times, eyes would be painted on the photograph once it was developed, as in this boy's case. The deceased girl on the right appears to have fallen asleep playing with her favourite dolls.

Memento mori photography was not just a concept throughout Europe. Similar pictures were taken in Australia as well.

These pictures are a part of the collection at the State Library of South Australia.

Sometimes, death was more apparent than intended.

As healthcare improved and photography became more accessible to the common man for family portraits, however, the demand for death portraiture diminished.

It may seem like a grim way to grieve someone to us, but to families back in the day, these pictures were all they had.

All images are sourced from BBC