SyntaxFix
Write A Post
Hire A Developer
Questions
var url = window.location; var urlAux = url.split('='); var img_id = urlAux[1]
Worked for me. But the first var should be var url = window.location.href