Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Image Folders management


glusniffer1

Recommended Posts

I see i the contributions that they have a fix for the image folder,but it also says that it needs to be updated for the latest version of OSC has this been done?

Im trying to add Manufacture image folders in the image folder and ahave my catalog point to them rather that all my images in just one folder...NEED Help On This Please...

The Hobby Undergound..."For The Pure Hobbyist"

Link to comment
Share on other sites

A simple solution that does not require any code modification is to load all your graphics into a directory on your local machine with the same name you intend to use in your cart.

Example:

 

Create your subdirectories on your website, ../catalog/impages/epson and set permissions same as catalog/image directory. Then, on your local computer,

 

C:\Documents\webgraphics\epson\printer.gif

 

etc.

 

Then, when you load the graphic to your website using the admin panel, change the last backslash to a slash so that your upload source looks like:

 

c:\documents\webgraphics\epson/printer.gif

 

This will load the picture to the proper location, and install the path in your database.

 

hth

 

George

GEOTEX from Houston, TX

 

(George)

Link to comment
Share on other sites

Hi Geotex,

 

you said

this is a simple solution that does not require any code modification.

This implies that every time a new manufacturer has to be created, somebody has to create the folder manually,

 

what can be done by modifying the code ?

 

I see i the contributions that they have a fix for the image folder,but it also says that it needs to be updated for the latest version of OSC has this been done?

 

Do you mean that there is a contribution that fixes this problem ?

Can you tell me where can I get it ?

 

I am using osc 2.2MS2 (december 7th 2003)

 

Thank you so much

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...