Hi guys,
Imagecache 5.x-2.1 does not create multiple subdirectories on a XAMPP / Windows enviroment. It's because windows behaviour of php mkdir seems to be different than the mkdir on linux (as google and php.net told me finally ... ).
The good news: If you expirience the problem that your XAMPP on Windows produces a bunch of errors instead of nice little images ... on normal webservers with linux, apache and php ... you will not have any problems.
If you want to test imagecache2 on your local system, I'm adjoining a patch ... where I have copied the old mkdir behaviour from imagecache1 into the imagecache2.module. Works without problems - so far.
| Comment | File | Size | Author |
|---|---|---|---|
| windows_imagecache.patch | 1.26 KB | anschinsan |
Comments
Comment #1
joachim commentedI've tried the patch and still can't get imagecache images to show.
With the patch the folder is now getting created but the images are not being created.
Comment #2
joachim commentedOops.
Turns out my image generation problem was due to no toolkits being enabled...
In which case, I can report that the above patch did allow XAMPP to create the folders for the derivatives :)
Setting patch status to needing review by other users.
Comment #3
fizk commented