Hello, would like to know about this myself too. Is there a filter that can be put in functions.php which causes images shown in default wordpress gallery to be opened in a new page (if they are linked directly to the image and not the attachment page)
Would appreciate the code for the same.
Cheers,