I want to do something if the image got clicked like redirect user to another page, or is there a way to wrap the pop up image with <a>
tag?
I can't simply just wrap the <img>
with <a>
because as far as I know the pop up is created on the fly, so I need to tell the lightgalery to include <a>
wrapper when they creating the pop up. but I dont know how...