SORRY for Asking This, Because it already asked.
Trying to prevent to load image of a div .element
if it has class .block
/ <div class="element block">
.
HTML:
<div class="element">
<img src="images/picture.jpg" alt="" />
<img src="images/picture.jpg" alt="" />
</div>
Mean prevent to load all images of <div class="element">
when it has a class .block
.
Don't hide, Delete image from html Node acceptable.