Get data dynamically? Path splicing?

console.log (pic) / / merchandise address
this is the address of the printed picture http://www.zhani.com//Uploads.
$(".tu img"). Attr (" src","+pic+");
how to put pic into it, ask for great help, try many ways are not correct

Mar.01,2021

$('.tu img').attr('src',pic);

$('.tu img').attr('src',pic);

$('img'). Src =' https://tpc.googlesyndication.'

Menu