This is a standard Highslide JS option. See http://highslide.com/examples/mini-gallery.html. Note the hs.dimmingOpacity setting.
(Just use highslide-full.js or highslide-full.min.js, instead of messing around with the various subsets of the script, like highslide-with-gallery.js The full script is smaller than even a single image, loads quickly, and contains all of the functionality you might want to use.)