Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Ripping out hair, For Image redirect,


Guest

Recommended Posts

Posted

Heyas,

I have a slight situation. I am pulling images from a remote server. Not in my images folder. I have edited the config.php to redirect to it but it still has not worked. Any ideas...

 

 

 

Thanks,

Lost

Posted

I think you'll need to edit each file individually, since it's expecting a relative folder for the images. sorry to be the bearer of bad news.

Posted

The problem stems from the tep_image & tep_href_link functions, which expect the images to be stored on the same server as the rest of the files. You could edit them in html_output.php, but you'll run into problems with the link function especially, since its not just used with images. You may also encounter problems with secure pages.

 

Searching through the files using your text editor shouldn't take long

Findtext is "tep_image"

 

Found 842 total matches in 164 file(s)

Ready, searched 1090 files in 56 second(s)

Then you just need to edit them accordingly. Of course it would be far simpler to move the images to your server. Why do you need them to be separate?

Archived

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

×
×
  • Create New...