php-image-cache
php-image-cache copied to clipboard
image_src on Linux and Silverstripe
I'm using Silverstripe (framework) hosted in a Linux server. The framework default upload folder name contains a Uppercase Letter ("assets/Uploads"). When we call the method cache(), it uses 'strtolower' in the folder name turning it to "assets/uploads" which generates an error on trying to find the image since its address is wrong. It must keep the uppercase "U" in "Uploads".