console
div=window.getDocumentById("mydiv")
<div id="mydiv">
<a href='http://testbtp.iuoooo.com/Mobile/CommodityDetail?commodityId=946da638-f4eb-445e-9951-1a97fdf012e7' data-shutter-title=""><img src='http://testfileserver.iuoooo.com/Jinher.JAP.BaseApp.FileServer.UI/FileManage/GetFile?fileURL=29e54e46-3e17-4ca4-8f03-db71fb8f9556/2018020910/44e0f9ed-2a32-4fe4-a646-b7a8f30be25e_19fc26f1-c768-485c-ae80-5df8d802cac0.jpg&e=0.45064177961054663' /></a>
</div>
img{
width:100%;
height:100%;
}
#mydiv{
width:100%;
height:350px;
}