Adapt images for the target language

Translate the namespace used in resource attribute of img tags
as per https://www.mediawiki.org/wiki/Parsoid/MediaWiki_DOM_spec#Images

Change-Id: Ia3fb7878279525630d5ebdc0ff1d1d24c1b1a4be