I can understand taking photos of a deceased newborn, so that the mother won't forget what her child looked like.
Other than that, nope. I've never wanted to be cremated, but lately thinking seriously about doing so.
Posting those type of photos on facebook is just shameful I think. I would be appalled if my family did that.