image size is now more flexible