Update image size and alignment