This is kind of the reason I'm not using path_image yet.
To fix this, we need to
a) change the way the image directory is detected
b) change the way the path is detected
As far as part a) is concerned, I've attached an (almost untested) patch.
| Comment | File | Size | Author |
|---|---|---|---|
| path_image.patch | 1003 bytes | airblaster |
Comments
Comment #1
Robrecht Jacques commentedThis patch is needed for path_image to work.
file_create_path()does exactly what you want by doing this$_SERVER['DOCUMENT_ROOT']but is much more reliable, eg when installing Drupal in a subdirectory.Tested it and it works.
Comment #2
Robrecht Jacques commentedI think both issues are fixed in 5.x-1.x-dev. Please test and if it is not the case, reopen this.
Comment #3
(not verified) commented