https://divisoup.com/how-to-add-links-to-the-divi-gallery-module-and-show-captions-on-hover/

How to Add Links to the Divi Gallery Module and Show Captions on Hover

Recipe #22 is a modification to the Divi Gallery Module using only CSS and a little HTML: How to add links to the Divi gallery Module and show captions on hover.

In creating this recipe I discovered something I hadn’t realised before, did you know you can add links to the caption field in the media library? I certainly didn’t but that little discovery made creating this effect so much easier and means that now, instead of your gallery images opening in a modal window, you can now link them to any web page you like, which for me really extends the possibilities of this already great Divi