- πΊπΈUnited States wmfinck
This issue just drove me nuts for two weeks. Everything on two different websites, same server, is identical. Same themes, modules, apache configurations, and everything else, just different content. On the second website, no matter what I did the site would not display images in configured image styles, even using the Image Styles Generator module at https://www.drupal.org/project/image_styles_generator β . I went through every setting on each site, and they were all the same in every section. The content types were the same also (both imported from D7).
So in exasperation I added the $config line in #7 above, $config['image.settings']['allow_insecure_derivatives'] = TRUE;
Doing that, I cleared the cache, and the image styles began appearing on the site instantly. Thanks for that, but this will remain an enigma to me.
- πΊπΈUnited States pearl.liang
$config['image.settings']['allow_insecure_derivatives'] = TRUE;
The above line solves my issue, too. I am using Drupal 10.3.1
Thanks c. s. comfort and wmfinck.