with jquery 1.2.3. It caused the lightbox to appear briefly and then for the image to be opened in a new page. Patch provided by PanDa777.