I have an image gallery with one image on each node. I'd like to link the image so that it leads to the next image. Like the gallery in facebook. I have a custom tpl where the image field is printed out. I thought it'd be easy to just wrap a link around that field, but then I realized that the custom pagers variables isn't avaliable for nodes. Has anyone found a solution to this?