Fixup an image tag