How to reproduce the issue : I define a content type with an imagefield, and input a file directory settings, let's say "images/header". I also configure my content type to display the imagefield with a style "mypreset". Then, I create a node with a file image, and display it. Without surprise, drupal tries to get the image from "sites/default/files/styles/mypreset/public/images/header/my_custom_image.jpg"... But does not find it.
Indeed, the folder sites/default/files/styles/mypreset/public/images/header does not exists, and even if I create it, the image is not created.
The file sites/default/files/styles/mypreset/public/modules/image/sample.png exists, I guess it was generated automatically when created my image style, which shows apache can write in the styles folder...
I have no clue about the cause. Does anybody already heard about this problem ?
Regards,
Raphaël
Comments
Comment #1
sunComment #2
dddave commentedthis might be related: #1230770: image style not being followed
Comment #3
raphael waeselynck commentedYou will be glad to know I cannot reproduce it on a fresh drupal 7 installation.
My website was at the beginning, a pressflow based distribution. I will start over and tell you if the problem is still there. Otherwise, we can consider this issue closed.
Comment #4
ouyang1512 commentedI am having the same problem. png and gif files are working correctly, but not jpg files. They are not generated in styles folder. The log message is:
. Mine is Drupal 7.14. Apache/2.2.22 (Unix) PHP/5.3.10 JRun/4.0. The auto generated styles folders' owner under styles/.../public/ is 99, and permission is 644. I cannot figure out what the problem is. Can anybody help please?