I am having image cache installed. I have two Imagecache Presets defined
1> a thumbnail having size 100 x 100(scaling) and another having size 320 x 240(scaling).
The thumbnails are stored in folders localhost/files/imagecache/thumbnail1 and localhost/files/imagecache/thumbnail2. Seems everything configured properly also file permissions are fine. but still not able to generate thumbnails. any help plz.

thanks in advance....
Ramesh

Comments

ramesh@drupal.org’s picture

i have imagecache configured but dont know how to test it :(, plz help

markhope’s picture

This should walk you through the setup...
http://www.lullabot.com/articles/image_and_image_exact_sizes_vs_imagefie...

The thumbnails are only generated when they are requested by a page. That way new presets can be setup at various sizes and when they are called by the page they get generated from the main image you uploaded. The thumbnails are then 'cached' in a folder named as your preset name. You should also notice a button under your preset setting page named 'flush cached images' (or something like that) - which deletes all previously cached images. This would be used if you decided to change the size of your thumbnails, or other imagecache settings. Next time the page requests a thumbnail it would regenerate the image at the new size.

The tutorial at lullabot shows example code to place in your node template, to call an image preset.

Good Luck!

ramesh@drupal.org’s picture

-:( , still not working. is there any code modifications also?

ramesh@drupal.org’s picture

seems this is still a problem with drupal 5.x

markhope’s picture

I don't think it is a problem with Drupal 5 as I have it working just recently :)
http://www.harrisoncaravansales.com/find-a-caravan

There is an issue with the imagefield module (you are using it?) where the initial image might not get uploaded.
There's an issue/fix here:
http://drupal.org/node/123977

Can you post some more detailed info, with code examples.
What do you have in your template file to call the thumbnail image?
What are the exact setting with the actual name of the presets?
Is this on a live server or local machine?

M

govindtotla’s picture

I have done all the things for Drupal image gallery website with gallery formatter, image cache and some other related modules. and it is working fine on my local server ( windows + xampp ) but not working on live server. i have also checked for folder permissions but cant get it solve. Any suggestion? Thanks in advance.