Hi
I'm using imagecache in two different ways in my site:
1. Imagecache+Imagefield (CCK) -> Everything works perfect.
2. Imagecache+Inline filter-> Cache images are created but not shown. Actually they are shown but just one time, if I reload the page images are gone. I've checked in the FTP and the folder for cached images has 755 permissions (the same than the working imagecache folders).
Any idea about where the problem could be?
Please, don't hesitate to ask for more information about the problem.
EXTRA INFORMATION:
Firefox right click image information about...
working imagecache image address: http://pixelgordo.com/ficheros/foto_caja/menace-amiga.jpg
NOT working imagecache image address: http://pixelgordo.com/ficheros/imagecache/teaser/blog/1327/avatares360.jpg? (notice the ending "?" )
Comments
Comment #1
NoRandom commentedSorry for double posting.
Problem located... it seems imagecache create folders without enough permissions. I have to force a 777 from FTP. So, where do I fix this issue?
UPDATE:
It seems the cached image is created with 755 permission so you can see it the first time. But inmediately it changes to 644 and so you can't see it anymore.
UPDATE 2
I've checked all the points indicated in http://drupal.org/node/224913 and it's not working yet. If I set the file system to private, imagecache starts to work but I don't like this solution because it seems the site works much slower.
Kind regards.
EXTRA INFORMATION
In case it helps, I have algo installed in my site "upoad path" wich is a module that puts node atachments in subfolders and it works perfectly.
Comment #2
NoRandom commentedProblem solved patching the module and forcing umask(0) during folder creation, here is the full explanation: http://drupal.org/node/289450#comment-1953776
Comment #3
fizk commented