Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Images


digilee

Recommended Posts

Posted

1 thing that's really starting to annoy me ...

I am going into my admin and entering a new prduct, with image.

The image loads fine in admin.

 

When I go to view the product in the shop the image isn't shown.

 

I checked on the server and the image has been uploaded.

 

I have this set up:

domain.com/images

domain.com/shop

domain.com/shop/images

 

When uploading the image it is being placed into domain.com/images

In the admin the image is referenced from domain.com/images

In the shop, the image is being referenced from domain.com/shop/images

 

I have checked the config files and no matter what combination I try the image just isn't displayed in the shop (it's fine in the admin section).

 

What I actually want is that ALL product images are uploaded, and referenced from domain.com/shop/images

 

Someone please let me know how to do this.

 

btw ... All my other shops display images fine. I've even tried copy/ pasting their config.php contents!

 

Thanks in advance.

SolarFrenzy

Solar powered gadgets at down to earth prices.

 

CheekyNaughty

Promoting British Design

Posted

OK, sorted the problem.

 

I initially loaded the store at root level.

I then uploaded a new store but changed the config files to access the original database.

I changed a few paths and finally got all the images uploading to/ and referenced from the same folder.

BUT ... the index.php page was still not loading the images correctly.

I then remembered that I had adapted the header tags, including base ref, to reference one global file.

The path in the global file was still pointed at the root level and not the actual shop location.

 

Hands up anyone that actually followed that!

 

Anyway ... the deal is that the images now ALL load correctly.

 

:)

SolarFrenzy

Solar powered gadgets at down to earth prices.

 

CheekyNaughty

Promoting British Design

Archived

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

×
×
  • Create New...