Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

putting product images in differant folder


wickedtomkat

Recommended Posts

Posted

I would like to have all my product images i upload from the admin center when i add a product to gointo a differant folder.. not a differant folder per catagory or anything like that.. just one folder called products.. is this possible.. is there a contribution.

Posted
I would like to have all my product images i upload from the admin center when i add a product to gointo  a differant folder.. not a differant folder per catagory or anything like that.. just one folder called products.. is this possible.. is there a contribution.

yes simply your configure.php lines

look for :

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

 

Simply change the folder name from images to products or what ever you renamed your image folder to inside your configure.php

files in your catalog/inccudes/configure.php and catalog/admin/includes/configure.php files

( WARNING )

I think I know what Im talking about.

BACK UP BACK UP BACK UP BACK UP

Posted

this won't hurt my images in teh actual shop will it.. such as the credit card iamges.. check out images etc.. all i want in that folder is the actual images of the products themselves.. if it changes all of the image links .. (products, layout images, etc.. ) then It would be pointless to change the folder in the first place since all my iamges are still going to be on one big folder making it harder to find the images once my shop starts to get bigger..

Posted

You could make and define a completely new directry called PRODUCT_IMAGES. Then you'd need to find the places where product images are pulled from the database within your site files, and switch to that definition. You'd be looking at changing the configure.php, index.php, product_info.php just to start, depends upon what modules and functions of osc you use. You'd need to change every file that might call a product picture.

 

Jeremy

Archived

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

×
×
  • Create New...