Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

images location problem


az_islands

Recommended Posts

hi

 

i'm new at oscommerce, things were going ok until now:

 

have a small problem with product's image location

 

looking at the demo images (\images\microsoft\image.gif) i wanna do the same with mine

 

already created a directory and put an image inside using this structure

\images\science\image1.gif

 

but when i upload the new product and browse the image in the correct directory(\images\science\image1.gif), the image goes (duplicates) to

\images\image1.gif

 

because i wanna use more than 1000 images in 20/25 categories you can imagine if they all go to \images.. it will be very difficult for me to manage that.

 

please help me here

 

thanks in advance

 

Eduino

Link to comment
Share on other sites

Have a look at this:

 

http://www.oscommerce.com/community/contributions,3873

 

It's a feature that people have long wanted so I created a contribution to add subdirectory support.

Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux

Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management)

Link to comment
Share on other sites

Here's a screenshot:

 

subdir.png

 

Thanks for the tip, but just one more question:

 

- the files includes ds_store....(what i do with them?).. these are not windows files...right?

 

forgot to write...i'm using windows 2000 :(

 

can i just change the code (as you wrote) at categories.php (in admin and english)?

 

Thanks once again

 

Eduino

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...