The index.php script in this directory must reside in the /images/ directory on the web server. The index.php script is called when a 404 on the requested image occurs. This allows the script to generate a scaled version of images dynamically. Subsequent requests will return the cached image.