Skip to content

Getting things to work together with inline svg overlays #532

Answered by PlasmaHH
PlasmaHH asked this question in Q&A
Discussion options

You must be logged in to vote

With the help of a coworker I just now hacked me some workaround into glightbox ... the problem was the img.src = data.href; line in slideImage function.

Adding a check if its a string or an object, and in the latter case use data.href.baseVal instead makes it work on my end, however that might not be the solution for everyone and not really nice to maintain to have a patched version...

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by gingerchew
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant