Fresh Drupal 6.9 install
ImageCache 6.x-2.0-beta5
ImageAPI 6.x-1.2
PHP Version 5.2.6-0.1~lenny1
libgd2-xpm (>= 2.0.36~rc1~dfsg)
PHP memory limit 128M
tmp dir is /var/www/drupal_69/tmp with 777
files dir is /var/www/drupal_69/sites/default/files with 775
(clean urls are deactivated, the project page claims it's only required for 1.x version)
When showing the action list of a preset the preview below does not work and source URL is shown instead.
When clicking on the URL the webserver reports a 404, there is no image in the imagecache subdirectory, only the provided sample picture in the files directory exists.
The imagecache-generated images don't work anywhere but the preset preview is a very controlled situation with that behaviour so I picked it as an example.
Comments
Comment #1
BaZkiT commentedOk, i solved the problem. I used as download method "public" and not "private". "private" makes completely sense, because drupal(imagecache) shall edit the images but I never read it in any documentation or troubleshooting report.
However the preview doesn't work at all. The link to the image is
http://domain/path_to_drupal/index.php?q=system/files/imagecache/preset_name/imagecache_sample.png?1232191933.I don't know what the
?1232191933is needed for. Without it, I can see the preview...Comment #2
BaZkiT commenteddoes the preview for anyone else work?
Comment #3
Durran commentedIt does not work for me (beta5) ...I thought it may have been another issue initially, but I think now that it is within the module. Hope that the fix is found soon!
Comment #4
codevoice commentedPreview doesn't work for me either, tested on Drupal 5.12, ImageCache 5.x-2.2
Comment #5
Durran commentedIts strange that I reinstalled (whole 6.9) clean.. enabled imageapi, imagecache,etc. then allowed a generic file to be preset, and it was shown on the teaser preview. I then enabled the image thumbnail teaser preset and it didnt work. I switched back to generic file and then it was gone too! Im thoroughly confused. I had it working once, then it seems it just quit? Is there anyone that knows what to do? Ive read soo much on this issue and nothing seems to work.
Comment #6
manoloka commentedsubscribe
Comment #7
idflorin commentedIt does not work for me 6.x-2.0 beta 6, on 2 servers(http://www.adsneeze.com/ and http://www.zori.ro/). the strange thing is that 6.x-2.0-beta5 is working on http://www.jabulela.com (http://www.jabulela.com/ and http://www.zori.ro/ are on the same server)
Comment #8
drewish commentedcurrently you either need mod_rewrite (aka clean urls) or use private file transfers. see #410200: Without clean URLs ImageCache doesn't create folders or images