image of which gallery was clicked
I have two divs each has a gallery class
the first one have a few images and the second has a few images
to get a click event of an image
$('.gallery img').click();
how do I know if it is an image of the first gallery or of the second gallery?