That should work just fine. The news download system looks for images to download after preprocess has run. Look in the log to see why the images are not downloading. Also rather than using replaceWith just set
img.name = 'img'
img['src'] = 'whatever'
|