added 'restrict_image_size'