image gallery linked to label listing

I am looking for an image gallery for blogger that will automatically link all images from blog label. Using this gallery on separate category pages, the images would link to all related label(s)… Does any one know of any JavaScript???