How to theme the user picture to appear in lightbox
An alternative approach to wrapping the user picture around the necessary  tag for lightbox, would be to append a custom CSS class to the user picture. Then navigate to /admin/config/user-interface/lightbox2/automatic (D7), down to custom class images and type in the name of the CSS class you chose before.