Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Using Images on an image server


Hendriks

Recommended Posts

Posted

I'm trying to use images on an image-server (another server on the internet with thousands of images) instead of uploading the same images to my one webserver.

Furthermore, I want OSC not to upload the image at all, but just use the image on the other server.

 

Has anyone done this before?

 

I've tried to adjust the image-path in configure.php, but that didn't work.

 

Thanks for any suggestions.

  • 3 weeks later...
Posted
I'm trying to use images on an image-server (another server on the internet with thousands of images) instead of uploading the same images to my one webserver.

Furthermore, I want OSC not to upload the image at all, but just use the image on the other server.

 

Has anyone done this before?

 

I've tried to adjust the image-path in configure.php, but that didn't work.

 

Thanks for any suggestions.

 

We are doing something like this - our image server product gives out the image over an http request.

 

Use the default image field to put the url to the image

in the php file that calls the image, you have to modify the code so the link comes out as an absolute url, not an internal file.

 

instead of using <?php echo tep_image(DIR_WS_IMAGES . $image); ?> to display images stored in the images directory, you have to do something like <img src="<?php $image; ?>"> to display the image from a remote server.

Archived

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

×
×
  • Create New...