I know this one keeps coming up, but I'm tearing my hair out: I'm not getting image thumbnails in CP (they are 404'ing)

  • I'm running 2.10.4
  • It's on an Azure App Service on staging and production, and IIS\Windows 10 for dev - both are affected in t he same way
  • I changed sys_temp_dir in the php.ini to a folder I know the site has write permissions to (\local\phptmp), and made myself a little test.php to confirm the site can write to it:
    $folder = sys_get_temp_dir();
    $file = $folder . "\\test.txt";
    $test = "test text";
    print $file;
    file_put_contents($file, $test);

Does anyone know where I'm going wrong?

Answered by Pete Griffiths! Go to answer.