technicka.netfrom the cerebrum of Becky Gessler

ImageCache not working on your live site? Here's probably why

This has happened to me twice now. When going from a local install to a live server, my ImageCache thumbnails get totally screwed up. They just wouldn’t display. If this happened to you, don’t freak out! It’s a real easy fix, and we’re gonna get it taken care of right inside our Drupal admin.

thumb_imagecache-temp.jpgImageCache relies on a temporary directory where it can store thumbnail fails (temporarily) as it generates them. The setting for where your temp directory is located is configured by going to admin/settings/file-system. Once you’re here, you’ll see an option for temporary directory. In my experience, when running on a local server, this temp directory gets set automatically to something like: “C:/xampp/htdocs/my_site/temp”. Oops. Once you move this baby to your server, that directory is not gonna cut it. Change your temp directory to something like sites/default/files/temp, and you are good to go!

AttachmentSize
imagecache-temp.jpg85.74 KB

Comments

i do that all but still not working ... and my temp directory have only tmp

Pages

Filed Under

Related Content

I pwn

Oh hai, my name is Becky and this is my personal website about tech and sometimes my life. I work as a user experience designer for UniversityNow, and I live in San Francisco but I bleed New York.