Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Product image upload problem


CreativeC

Recommended Posts

Hi I wonder if anyone can help out here.

 

I've been trawling the forums and Google and not yet found a solution for this.

 

In admin, upon uploading a product image. I get the 'upload successful' message, but in preview and upon selecting the update button, the image does not show? It appears it is not uploading to the relevant 'images' directory on the server.

 

I've checked permissions on the folder and had a quick look at the config files and it all looks fine.

 

I can FTP the image OK also.

 

Any suggestions I would be grateful!?

 

Thanks

Link to comment
Share on other sites

Hi I wonder if anyone can help out here.

 

I've been trawling the forums and Google and not yet found a solution for this.

 

In admin, upon uploading a product image. I get the 'upload successful' message, but in preview and upon selecting the update button, the image does not show? It appears it is not uploading to the relevant 'images' directory on the server.

 

I've checked permissions on the folder and had a quick look at the config files and it all looks fine.

 

I can FTP the image OK also.

 

Any suggestions I would be grateful!?

 

Thanks

 

I managed to solve it, the path in the configuration files was wrong. DOH!

Link to comment
Share on other sites

  • 2 weeks later...

I managed to solve it, the path in the configuration files was wrong. DOH!

 

 

Out of interest, which particular setting did you tweak? I have all my images displaying correctly in my shop but I also do not get them displayed when in the admin module, adding or updating. When I chek image properties I can see that the path is wrong but I am not sure which setting in which configuration file is the one to modify.

 

Any help is greatly appreciated.

 

Cheers

Steve

Link to comment
Share on other sites

Out of interest, which particular setting did you tweak? I have all my images displaying correctly in my shop but I also do not get them displayed when in the admin module, adding or updating. When I chek image properties I can see that the path is wrong but I am not sure which setting in which configuration file is the one to modify.

 

Any help is greatly appreciated.

 

Cheers

Steve

Link to comment
Share on other sites

Should have looked more carefully, I found it.

 

It was define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'folder/images/');

 

Cheers

 

Steve

 

Good good glad you found it. Often the smallest things you miss. I guess when you've been looking at the code all day it all becomes a bit of a blur! :)

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...