Hi David,
Well, it depends on how you have the image defined.
For example if you defined it in a Static HTML web part or a transformation, you can simply add the property inside img tag, e.g.:
<img rel="lightbox" src="http://images.com/myimage.jpg" / >