Hi I'm currently running Drupal 6 with php5 and I'm trying to get image cache to work. None of my presets are working and I can't find a solution in the forums.

When creating new content with the display set to an imagecache preset the images gets uploaded: into:

blog/sites/default/files/image.jpg along with another version named image_01.jpg. I see an /imagecache folder where the image cache should create the folders for each preset to store the images, but this folder is empty.

The sample.png image doesn't work when trying to preview your preset in the imagecache settings.

I'm on 1and1 hosting, so I'm not sure if it is a limitation of the server. I read that people have had problems on 1and1. The imagecache works well on my other site hosted on godaddy.com.

Also maybe it is the .htaccess or .php_ini file? I'm not in an expert in programming but I know enough to get around and understand a basic idea of whats going on. I just don't know what I should have in the htaccess file. Do I need to turn on a certain feature or something?

Comments

dcarr’s picture

Oh yeah, I have these modules installed
CCK
Views
Views Bonus Pack
Og
thickbox
lightbox
panels
webformblock
simplegallery
ubercart

Wonder if any of these are clashing? Should I start all over with a fresh install?

pluess’s picture

Make sure your temporary directory is set (admin/settings/file-system). Make sure it's writable by the webserver.

If this two conditons are not met, imagecache isn't writing any cached images and you won't see any pictures.

HTH
Ernst

dcarr’s picture

I went into the (admin/settings/file-system) and just changed it from public to Private and now it looks like the Imagecache is working now. What is the drawback of going private vs. public?

Thanks for your help!