Is there any way to change the defuult url. I have a website with 2-3 directories deep urls and the url gets too long if I have to put files/imagecache/preset/filepath everytime. It would be nice to have something like this:
/preset/filepath

Comments

dopry’s picture

the 2.x version has shorter paths, but hasn't had a stable release yet.

vipconsult’s picture

Unfortunately I cannot update as it is not compatible with the image fiels of CCK which I use

vipconsult’s picture

Any directions to where I need to look in the module to change the default path ?

dopry’s picture

Status: Active » Postponed (maintainer needs more info)

look at how _imagecache_strip_file_directory() is used in the 2.x branch... I would love to see that backported to 1.x, but haven't had time. Are you up to the task? .darrel.

janwari’s picture

Im facing a similar issue with long image paths.
In a multisite setup imagecache is generating image paths which is ridiculously long

E.g:http://mysite.org/sites/news.site.org/files/imagecache/story_feature/sit...

Is there any workaround without hacking the module ??

dopry’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

I'm pretty sure imagecache 2.x will work with the 1.x version of imagefield... You'll have to update your display settings page and the like... probably dump your caches as well. and don't forget to run update.php.

I've used imagecache 2.x with imagefield 1.x in development.