#jquery has a method called .dblclick()
This can be used to perform double click action like this

$('img'.dblclick(function(){
window.location = " https://google.com\" ;
});