Added restriction max image size