Closed (fixed)
Project:
ImageCache
Version:
6.x-2.0-beta8
Component:
imagecache_image module
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
27 Feb 2009 at 12:32 UTC
Updated:
3 Jan 2014 at 00:07 UTC
Jump to comment: Most recent
Comments
Comment #1
steinmb commentedHi
What does not work? After enabling the module, and creating a Imagecache preset, does the "files/imagecache/preset-name" get created?
Also try disabling clean URL in your Drupal installation. I have not any magic solution for you that fix your problem since I'll never used any other webservers then Apache on my servers.
Comment #2
lordofwinds commentedI have some problems on my sites. Hosting company use nginx and imagecache don't create folders and copy of images
Comment #3
steinmb commentedHave never used Nginx but here is some pointers.
Apache need mod_rewrite to work and you get exactly these problems if you insert this into your "/sites/default/files/.htaccess" file:
Lighthttpd pls take a look at http://nordisch.org/2007/2/6/drupal-on-lighttpd-with-clean-urls
I think the problem is related to this. When you config your presets you will get no error messages right? and imagecache create the presets but not the directory structure?
Cheers
Stein
Comment #4
tancIgor, I was also having this problem but resolved it with the following in my nginx virtual host file:
The above assumes that your imagecache files are to be stored in sites/default/files/imagecache
Instead of nginx serving the static content (the jpeg or png or whatever) to the browser it will instead rewrite the path to (invisibly): index.php?q=sites/default/files...
This allows imagecache to run its manipulations on the file.
Just make sure you alter the location directive to match whatever path your imagecache files are in (relative to site root) and you should be fine.
Comment #5
mrfelton commentedI have exactly the same in my nginx and it works for me too.
Comment #6
EDanee commentedThis solved the problem for me too.
Thanks!
Comment #7
drewish commentedComment #8
tms8707056 commentedThis didn't work 100% for me. See post here (http://drupal.org/node/442350). Any ideas what to do?