Closed (won't fix)
Project:
ImageCache
Version:
5.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
26 Apr 2008 at 18:25 UTC
Updated:
24 May 2012 at 07:18 UTC
Jump to comment: Most recent file
Comments
Comment #1
guardian commentedComment #2
guardian commentedby the way, the patch has been generated from CVS, DRUPAL-5--2 branch
Comment #3
guardian commentedfixing indentation
Comment #4
dopry commentedthe patch looks pretty good at a glance. It needs additions to the requirements to verify the path is writable. Also as validation for the imagecache path settings form input. I'd prefer to see an element validator.
Comment #5
guardian commentedok here is another try
i just discovered about
hook_requirements, this new patch does:imagecache.installimagecache_directory_pathvariable at uninstallimagecache.module'#after_build' => array('system_check_directory')by a validate functionComment #6
guardian commentednew patch taking http://drupal.org/node/66763 into account
now, the custom directory for image derivatives has to lie in side drupal's
files/directory which has a proper.htaccessfileComment #7
guardian commentedsorry i uploaded the wrong patch
this one should be correct
Comment #8
guardian commentedComment #9
dopry commentedI'll have to look, but I think that .htaccess file that prevents Apache multi type exploits doesn't apply to imagecache generated derivatives... since we know they're images... so we can technically move imagecache anywhere... including /imagecache or /images when I'm working on 2.1 we'll figure this one out.
Comment #10
guardian commenteddoes it delay the patch until 2.1 or only allowing the derivatives to be outside the files directory ?
Comment #11
dopry commentedyes. I'm not doing any more feature additions for 2.0.
Comment #12
guardian commentedupdated patch to current head, please consider it while it applies
cheers
Comment #13
headkit commentedi tried the latest of your patches from that link and i can change the path of imagecache now. thats nice and it creates the imagecache folder outside the installationpath of drupal, but it does not create a preset-folder and no image file.
please help,
thnx!!!
Comment #14
headkit commentednothing?
Comment #15
drewish commentedno longer applies to head.
Comment #16
guardian commentedwhich doesn't surprise me since it was a 5.x patch and now HEAD is 6.x
when I synced the patch with HEAD it was still 5.x (http://drupal.org/node/251597#comment-866944) - I asked dopry if he could have a quick look but he answered he had no time to do so and that asking would not help
I'm sorry, I don't run D6 yet
I also switched the version to 5.x-2.x-dev since the patch originally came from CVS, DRUPAL-5--2 branch
Comment #17
psicomante commentedgood patch, will it apply to 5.x?
Comment #18
fizk commented