Add image override example
Fixes various 64 bit-related warnings