Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Strange thing happens when I add a category image


galey1981

Recommended Posts

In my admin interface of oscommerce I have tried to add an image to a category. I'll go to add file, select it from my local PC, and it will publish it.

 

Something strange is happening, for some reason when i upload an image it is saving the file location as:

 

Clothes/images/category_image.jpg

 

It's taking the name of the category, I've used Clothes as an example, and it is adding it to the pathway. It should just be:

 

images/category_image.jpg (I dont know why it's adding on the category name).

 

I check this by right clicking the broken image and looking at its address. Indeed it is adding category name to the image location.

 

I did a few find and replaces a while ago but nothing which I would think would impact on this item in particular. Any advice on where to look to see why the category name is getting referenced to the image pathway?

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...