Look’s like there something wrong either with the reg_ex our lightbox applies, or you have already had rel=”prettyPhoto” applied manually.
Did you try switching to prettyPhoto script?