fix missing img attribute translation