I can’t say for sure, but I wouldn’t think it would effect SEO. It’s not technically changing anything about the image, its simply changing the method in which it opens the image via the link. All of the titles, captions, etc on the images are still there on the image of that page.