Hi, I'm posting this because I'm at my wits end with trying to solve this one issue I'm having.
I am using the WYSIWYG module running CKEditor. I've installed the media module and am using it in the ckeditor to upload images to posts. The problem is that when it uploads, it uploads the image I give it but it never creates the styles. (example: thumbnails, large, medium) If I go to my directory sites/default/files the styles directory is there but there is no other directories with cropped images in it. I went to admin/config/media/image-styles and created a style. Once created I went back to sites/default/files and looked in the styles directory, sure enough, it created the directory and the cropped image.
So to recap, Drupal is able to create images and directories in the sites/default/files/styles directory when I create image styles. But when I try to upload an image, wether it's through the media module or the default file upload field, it uploads the image but never creates a cropped image.
This is being done on a fresh install of Drupal. My nginx drupal config file is below.
test_domain.conf
server {
listen 80;
server_name drupal.test_domain.dev;
root /Users/username/Sites/test_domain/www;
access_log /Users/username/Sites/test_domain/logs/host.test_domain.drupal.access.log main;
error_log /Users/username/Sites/test_domain/logs/host.test_domain.drupal.error.log;
rewrite_log on;
index index.php;
location ~* .(js|css|png|jpg|jpeg|gif|ico)$ {
expires max;
log_not_found off;
}
include /usr/local/etc/nginx/templates/drupal7.conf;
}drupal7.conf
# gzip_static on;
location = /favicon.ico {
log_not_found off;
access_log off;
}
location = /robots.txt {
allow all;
log_not_found off;
access_log off;
}
location = /backup {
deny all;
}
location ~* .(txt|log)$ {
allow 127.0.0.1;
deny all;
}
location ~ ../..php$ {
return 403;
}
location / {
# This is cool because no php is touched for static content
try_files $uri @rewrite;
}
location @rewrite {
rewrite ^ /index.php last;
}
location ~ ^/sites/./private/ {
return 403;
}
location ~ files/styles {
access_log off;
expires 30d;
try_files $uri @rewrite;
}
# Block access to "hidden" files and directories whose names begin with a
# period. This includes directories used by version control systems such
# as Subversion or Git to store control files.
location ~ (^|/). {
return 403;
}
location ~* .php$ {
# Typical vars in here, nothing interesting.
include /usr/local/etc/nginx/fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
# Server PHP config.
fastcgi_intercept_errors on;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
# fastcgi_split_path_info ^(.+.php)(.*)$;
}I also read through this post (https://groups.drupal.org/node/124514) which seems to discuss my exact issue but was of little use.
Any help would be greatly appreciated.