American actress Sarah Michelle Gellar has apologised for posting images of herself in lingerie to mark Thanksgiving.