imagecache D6 - preset directories + images not generating when file system is set as PUBLIC
ok so this has stumped me for the past 24 hours or so... so the story is that one of my clients sites was still on the old D6 Drupal 6 platform. I remember having this issue pretty often while working on D6 sites. Most of the time I think it had to do with permissions, but not all the time. This time it was really really weird.
- everything in my files directory is set at 777
- clean urls are activated and working
- Imageapi GD is turned on and working!
- File system is set as Public ...
Those are my settings. But when i create a new preset, it does not create the preset folder in files/imagecache/{preset} directory which results in a broken image. The interesting thing about this is if you create the preset folder manually and then click on "save preset" on your preset page, it DELETES your folder... i'm not sure why, but it deleted all of my images in imagecache preset folder.
Now the way it seems to work is changing the FILE SYSTEM setting to "PRIVATE"..... but the thing is i would like to figure out why public doesnt work.
Comments
Comment #1
patoshi commentedok after setting the file system to private.. now anonymous users get a 403 forbidden on all image files... so it seems to be the work around temporarily is do what you need to do to generate images in private then switch the file system back to public to let anonymous access them... until this gets fixed, im not sure how to resolve this.