Yes, it really is ready to find.
But the point is simple, as already said comrade above you can tie the system service review, usually, this JS code.
The course is as follows (done in FancyBox):
1. When you initialize gallery set callback function.
2. A function which, when opening the image, will add to the content of the image (#fancybox_content for example) your code, let it be for example code VKontake reviews.