_load_plugins(array( array('modifier', 'date_format', 'admin/main/images_location.tpl', 151, false),)); ?> .db_option { color: #0000CC } .fs_option { color: #CC0000 } '; ?> _tpl_vars; $this->_smarty_include("location.tpl", array('last_location' => 'Images location')); $this->_tpl_vars = $_smarty_tpl_vars; unset($_smarty_tpl_vars); ?>
On this page you can switch your X-Cart to store images (category icons, product thumbnails and/or detailed product images) in the database or on the file system. By default, all images are stored in the database. Storing images on the file system may be helpful if your database performance is poor or its size is limited.
IMPORTANT! If you want to move images from the database to the file system please make sure that you specified the correct path to the place where your images will be stored (Note: you should specify the path on the server where X-cart is installed, not on your local machine). For UNIX users, make sure that this directory has world writable permissions (go to the specified directory and issue the following command: chmod 0777).
If you keep the images outside directory '_tpl_vars['files_location']; ?> ', you can't choose an image from the list of exported images when creating/modifying product (category etc) and have access to them via the menu 'Files'.
It's strongly recommended to make backup of your database before proceeding.
_tpl_vars['log_file']): ?> See Log file (last modified date: _run_mod_handler('date_format', true, $this->_tpl_vars['log_file_date'], $this->_tpl_vars['config']['Appearance']['date_format']); ?> ) _smarty_vars['capture']['dialog'] = ob_get_contents(); ob_end_clean(); ?> _tpl_vars; $this->_smarty_include("dialog.tpl", array('title' => 'Images location','content' => $this->_smarty_vars['capture']['dialog'],'extra' => "width=100%")); $this->_tpl_vars = $_smarty_tpl_vars; unset($_smarty_tpl_vars); ?>