Zen Cart Logo
Forums / Setting Up Categories, Products, Attributes / Using external http: links for main product images?

Using external http: links for main product images?

Locked

Views: 2,818

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
28 Jan 2008, 1:32 PM
#1
smoke133 avatar

smoke133

Zen Follower

Join Date:
Jul 2007
Location:
Roseville, Michigan
Posts:
188
Plugin Contributions:
0

Using external http: links for main product images?

Is it possible to use external links for my product images? My supplier does not allow me to download the images to put on my server, but they do have links to the images that I can use.

18 Feb 2008, 9:44 PM
#2
timjbart avatar

timjbart

New Zenner

Join Date:
Feb 2008
Posts:
26
Plugin Contributions:
0

Re: Using external http: links for main product images?

I'm also interested in this.

Is there any way of using external image links?

Thanks

19 Feb 2008, 12:05 PM
#3
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Using external http: links for main product images?

This is a real long shot guys, and I would try this ONLY on a test shop first! (If a more intelligent person is out there - please intervene and if necessary, tell me I'm talking junk!)

In your configure.php file, there is a line that says:-

define('DIR_WS_IMAGES', 'images/');

Perhaps if you put in the path the URL to your supplier's image directory, this will do the trick.

REMEMBER OF COURSE that this will be a SITE-WIDE setting, so NO IMAGES in your zencart images folder (or sub-folders) will be referenced.

...so there are likely to be wider implications... Try it at your own peril!

10 Feb 2009, 2:39 PM
#4
smoke133 avatar

smoke133

Zen Follower

Join Date:
Jul 2007
Location:
Roseville, Michigan
Posts:
188
Plugin Contributions:
0

Re: Using external http: links for main product images?

I'm still looking to do this. I have only one supplier that I need this for, so I don't to change the SITE-WIDE setting. Has any one figured out how to do this yet?

17 Feb 2009, 7:17 PM
#5
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Using external http: links for main product images?

No... it's not possible (without some MAJOR hacks to the code).

But if you need to "grab" images off a remote server to load into your shop, take a look at my post #9 in:

http://www.zen-cart.com/forum/showthread.php?t=118797&highlight=wget