Closed (fixed)
Project:
Image
Version:
4.6.x-1.x-dev
Component:
image.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Apr 2005 at 16:45 UTC
Updated:
17 May 2005 at 15:59 UTC
I'm trying to run multiple sites off of the one codebase but am having problems uploading images to the correct directory. For each site I specify a different directory under "files/images" for the default image path at admin -> settings -> image. But regardless of what I put for the default image path, images are always uploaded to "files/images".
Comments
Comment #1
singularoYep, I'm seeing that here as well. The directory is created, but the images are not placed into it.
Its a typo at line 599 in the image.module. The line reads:
$output = variable_get('image_path', 'images') .'/';
and it should read:
$output = variable_get('image_default_path', 'images') .'/';
Making this change allowed it to upload where its supposed to.
Comment #2
walkah commentedcommitted, thanks :)
Comment #3
(not verified) commented