I would like to use Simple HTML DOM to remove all images in an article so I can easily create a small snippet of text for a news ticker but I haven't figured out how to remove elements with it.
Basically I would do
Any help?
There is no dedicated methods for removing elements. You just find all the img elements and then do
$e->outertext = '';