function downloadImg(){
var imgs =[];
$('input[name="downloadImg"]:checked').each(function(){
imgs.push($(this).val());
});
console.log(imgs);
imgs.map(function(i){
var a = document.createElement('a');
a.setAttribute('download','');
a.href=i;
document.body.appendChild(a);
a.click();
})
}