add image size checking