Closed (fixed)
Project:
ImageCache
Version:
5.x-1.3
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
18 Feb 2008 at 20:25 UTC
Updated:
15 Apr 2008 at 15:20 UTC
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
Comment #1
dopry commentedthe 2.x version has shorter paths, but hasn't had a stable release yet.
Comment #2
vipconsult commentedUnfortunately I cannot update as it is not compatible with the image fiels of CCK which I use
Comment #3
vipconsult commentedAny directions to where I need to look in the module to change the default path ?
Comment #4
dopry commentedlook 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.
Comment #5
janwari commentedIm 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 ??
Comment #6
dopry commentedI'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.