Hi, I have several google map markers and lightbox image gallery in the html file. I need to associate each image from the gallery with the markers. I'm not very familiar with javascript, could you please give me some code?

I've tried this

google.maps.event.addListener(marker01, 'click', function() {
"bump" is id of div with the image, but it didn't work.
Thank you!