Apparently there was a time where this was a developing fashion - taking a photo of a dead relative, often of children, and with family members surrounding them. Sometimes the deceased was made to look as if they were sleeping, or resting, but they also had them taken in coffins.