As far as I know, none of the included lightboxes supports this functionality. This is not a frequently requested feature, so you will probably need to write your own script.
This is not something I can help you with, because for me this may also take several days (or weeks) to implement.