I know I've solved this in the past a long time ago, however, I can't figure out what that solution was. Hopefully someone else knows this problem and solution.
I'm using
print base_path() files/imagecache/product/ print $imagePath; ">
print base_path() files/imagecache/product/ print $imagePath; " alt="Title">
The path imagecache creates is now
http://www.domain.com/sites/files/imageache/product/sites/default/files/...
I can see in there that I need to add in default/ before the files after base_path, however, some other preset is also trying to call "sites/default/files/" and adding that to the end of the path.
I need to figure out what setting is set to the second part and be able to get rid of it. I've gone through all of my presets but none are set to that path so I don't know what imagecache is trying to combine in order to create this path.
Comments
Comment #1
RKS commentedI still don't know what's calling the second path as the image preset is set to imagecache/product but if I take out the "files/imagecache/product/" out of the code above and just leave
Then it creates a path that is at least viewable. The problem now is that is just a temp fix as I really don't want this second preset saving files in just files/ and that's exactly what it's doing. If anyone else has had a similar problem let me know but if you haven't I doubt anyone can help since it's impossible to know what all my presets are etc. But if there is something known that causes this I'd appreciate hearing about it.
Comment #2
clarkburbidge commentedhttp://drupal.org/node/1240034
I'm having a similar issue after moving a site onto Aegir
Comment #3
fizk commentedPlease reopen if this is still an issue with ImageCache 6.x-2.0-rc1.