Jump to content

Change default product IMAGE folder


DaRKRaM

Recommended Posts

Did anybody change ? the default IMG folder?   [Prestashop 1.6]

 

I need to change it. I already change the variables on config files, but system crash, uploading new pics etc..

 

Any idea? is this possible in Prestashop 1.6?

 

 

thanksss

regards,

Edited by DaRKRaM (see edit history)
Link to comment
Share on other sites

that is not working...if if do that,.,.i can not upload product pictures, and the -img src- continues the same /img/

seems like some modules only point to /img/ and is not only a system variable.

Link to comment
Share on other sites

Hi

Tested : working 100%

config/defines.inc.php
line 92:

define('_PS_IMG_DIR_',               _PS_ROOT_DIR_.'/img/');

if (!defined('_PS_HOST_MODE_'))
    define('_PS_CORE_IMG_DIR_',      _PS_CORE_DIR_.'/img/');
else
    define('_PS_CORE_IMG_DIR_',      _PS_ROOT_DIR_.'/img/');

/config/defines_uri.inc.php 
line 62:
 

define('_PS_IMG_', __PS_BASE_URI__.'img/');
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...