Mặc dù nên giữ itoktham số, nhưng nó có thể cấu hình được.
Bạn có thể chặn nó từ đầu ra bằng cách sử dụng image.settingscài đặt cấu hìnhsuppress_itok_output
// The token query is added even if the
// 'image.settings:allow_insecure_derivatives' configuration is TRUE, so
// that the emitted links remain valid if it is changed back to the default
// FALSE. However, sites which need to prevent the token query from being
// emitted at all can additionally set the
// 'image.settings:suppress_itok_output' configuration to TRUE to achieve
// that (if both are set, the security token will neither be emitted in the
// image derivative URL nor checked for in
// \Drupal\image\ImageStyleInterface::deliver()).
https://api.drupal.org/api/drupal/core!modules!image!src!Entity!ImageStyle.php/feft/ImageStyle%3A%3AbuildUrl/8.2.x
$config['image.settings']['suppress_itok_output'] = TRUE;vào tệp settings.php của trang web của tôi và nó hoạt động tốt.