To put a twist on this subject, there is a practice of taking a picture of the person lying in the coffin. I've encountered this in the Appalachia portion of the country, although I've learned that it happens in many other places as well. This practice isn't meant to be morbid. It's just a family's way of having one, last picture of their loved one.
At first, I thought this was odd and I was honestly a little uncomfortable. But I've come to see it for what it is. It's actually interesting now to watch the reactions of those who are, for the first time, seeing this being done at a funeral. In the instances where I've seen this happen, it's always been done with discretion and respect.