Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

path to store product images


blr044

Recommended Posts

Posted

I hame a major problem with my images folder. Will try to explain this the best I can. When one installs osc, it creates a folder images in root or catalog depends how the store is installed. Now FYI, I have over 1700 products in my store. As we know, the images directory contains folders like banners, borders, infobox and also your store product images. While my images directory went beyond the 2000 files limit. This created problems of some folders or files became invisble and it made it hard to edit.

 

Was told by my host to create another directory just for my store products. Which is now stored in store_images/images/. Even changed my includes/configure to point to correct directory for store products.

 

This is the section of the configure.php for the code:

 

define('HTTP_COOKIE_PATH', '/');

define('HTTPS_COOKIE_PATH', '/');

define('DIR_WS_HTTP_CATALOG', '/');

define('DIR_WS_HTTPS_CATALOG', '/');

define('DIR_WS_IMAGES', 'store_images/images/');

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

define('DIR_WS_INCLUDES', 'includes/');

define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');

define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');

define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');

define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');

define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

 

All other images for etc. backround images, arrows, infobox is still located in images/.

 

What I am trying to do is - store products needs to point to store_images/images and all other images need to point to images/. As well as when I add products in admin -> categories/products. Looking here you will see what I mean

 

So please, I am looking for some ideas.

 

Thank you.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...