Move image types to constants insteads of vars.

They will be visible outside the package.