The use of following snippet will let you add rel=”lightbox” to all images embedded in a post.

Snippet Source/Credit: Snipplr