In default, image will be store under files/ root directory, how to store image to directory every where we want it?
I'v plan to sell my images, all files that sell shoud be under e-commerce.module file system (not be accessible over the web).
it's possible to do that?

thank's for the direction

Comments

erwinova’s picture

I tried edit this line in image.module:

$form['paths']['image_default_path'] = array(
    '#type' => 'textfield',
    '#title' => t('Default image path'),
    '#default_value' => variable_get('image_default_path', 'active'),
    '#description' => t('Subdirectory in the directory "%dir" where pictures will be stored. Do not include trailing slash.', array('%dir' => variable_get('file_directory_path', 'web'))),
  );

but not working...any idea?

Hetta’s picture

Status: Active » Closed (duplicate)

duplicate of http://drupal.org/node/103793
you'll find one workaround here http://drupal.org/node/193285