Added setSize for image representations