When you use SwipeBox script, the caption displayed in a lightbox is taken from the title attribute of the link, not the image. If you use prettyPhoto it is take from the image, not the link.
We’re aware it’s inconsistent, but at the moment it works this way.