Add url_rewriter_fn that rewrites the images urls before adding the images url back to the src of the image.