It is completely up to you and depends on the closeness of your relationship with the family or the deceased. You can send flowers to the funeral home prior to the funeral. Gifts in memory of the deceased are often made, particularly when the family has requested gifts in lieu of flowers. The family is notified of the gifts by a personal note from the charity or other organization.
Even if you don’t make a gift, a note or card to the deceased’s family expressing your thoughts of the deceased is a welcome gesture, especially if you weren’t able to attend the funeral.