I am using simple_html_dom to get url content, some image won't show,
<div class="js-delayed-image-load" data-alt="image_title" data-src="image_url" data-width="976" data-height="732"></div>
how can I filter the specific div to convert div to img and data-src to src. like
<img class="js-delayed-image-load" alt="image_title" src="image_url" data-width="976" height="732"></img>