jonponton Posted March 16, 2007 Posted March 16, 2007 Hi Guys, Can someone tell me if images for each item in my catalog be hosted remotely? When I go to add a new item, I can only browse my local machine to upload an image, however I am interested in the referencing an image on a remote server. I hope I have explained this properly. Looking forward to your replies. Jon.
Sigmond Posted July 1, 2007 Posted July 1, 2007 I am also interested in this option - appreciate any help. I think somebody already has it working but I didnt understand the solution so I have asked for a better explanation, will post here too if I hear back Sig.
Guest Posted July 1, 2007 Posted July 1, 2007 Hi Guys, Can someone tell me if images for each item in my catalog be hosted remotely? When I go to add a new item, I can only browse my local machine to upload an image, however I am interested in the referencing an image on a remote server. I hope I have explained this properly. Looking forward to your replies. Jon. Can't imagine why you would want to do this, it will cause ssl to not display the padlock.
Sigmond Posted July 2, 2007 Posted July 2, 2007 Well if your selling an affiliate product then the image come from the retailer... other benefits are: 1/ saves on storage ~ cheaper hosting! 2/ saves bandwidth of tranferring images ~ cheaper hosting! Any help anybody!
Guest Posted July 7, 2007 Posted July 7, 2007 Well if your selling an affiliate product then the image come from the retailer... other benefits are: 1/ saves on storage ~ cheaper hosting! 2/ saves bandwidth of tranferring images ~ cheaper hosting! But for the site you are stealing them from it would be more bandwidth and more expensive hosting ... therefore NO answer to your question. Theft is theft and bandwidth costs money. :angry:
Sigmond Posted July 8, 2007 Posted July 8, 2007 Before you make accusations, no its not stealing. The other site belongs to the affiliate retailer who provide links to images as they are updated. They prefer you to link to their images and product pages...If you cant add any constructive info, then best say nothing and keep the thread focused on the topic. Thanks Sig. <_<
Guest Posted July 8, 2007 Posted July 8, 2007 Before you make accusations, no its not stealing. The other site belongs to the affiliate retailer who provide links to images as they are updated. They prefer you to link to their images and product pages...If you cant add any constructive info, then best say nothing and keep the thread focused on the topic. Thanks Sig. <_< Gee, I think a sensitive nerve was touched here. I thought the same thing. Hotlinking is bad and you must agree with this. There has been discussion about this in another thread. I am sure the solution was given there, and this may account for your reaction. If they prefer you to link to their images and product pages, they should tell you how to do it. This information was NOT previously provided. If it was known what the real focus of the thread was, the thread could be focused on the topic.
user99999999 Posted July 8, 2007 Posted July 8, 2007 You can put html in the product description so just put an image tag in there <img src="http://example.com/image1.jpg" border=0>
Guest Posted July 8, 2007 Posted July 8, 2007 Okay Sigmond, since you do have permission for this. In your catalog/configure.php file you will need to change the location of your images directory. define('DIR_WS_IMAGES', 'http://www.affiliates-web-site.com/plus-path-to-images/'); ** This worked when I did it for a test site but used the same domain name, I did not test it using a remote site ** But this will break your images on the SSL pages so you will need to remove all boxes that have images on those pages or create new boxes with standard images (such as a promotion you are having) and use those images on your SSL pages). I am not sure how this will affect adding images to the admin, I didn't look at it that much. Another thing you will need is http://www.oscommerce.com/community/contributions,933 which can email you every time you get a 404 (not found) error when a customer is viewing your site. That way if there is no remote image you will be notified and can fix the problem. It won't tell you the minute it happens but when a customer views that page. ** This should work ** Just found this contribution http://www.oscommerce.com/community/contributions,4936
Sigmond Posted July 10, 2007 Posted July 10, 2007 Hi, Thanks very much for taking the time to reply to my desperate calls! I did come across that contribution before but it didnt work for me. I PM'd the author Sean to see how he was using it. He is using it successfully, but it didn't seem to work for me... However, I did manage to fix the problem using this contribution: http://www.oscommerce.com/community/contributions,3299 which is along the lines of what you have suggested below. However, rather than defining the entire site you can just define: define('DIR_WS_IMAGES', 'http://'); This will then let you pull images from any site (as long as you have permission!) as long as you have the full URL for the images. Now for me this works with affiliates, as I will have images from quite a few merchants. Thanks for the 404/email tip, I'll give this a try too! Apologies I came across a little harsh a few posts back - I have been working on this problem for a couple of weeks and wasnt getting anywhere, but you can imagine the feeling when all those images just started to appear! Sig. Okay Sigmond, since you do have permission for this. In your catalog/configure.php file you will need to change the location of your images directory. define('DIR_WS_IMAGES', 'http://www.affiliates-web-site.com/plus-path-to-images/'); ** This worked when I did it for a test site but used the same domain name, I did not test it using a remote site ** But this will break your images on the SSL pages so you will need to remove all boxes that have images on those pages or create new boxes with standard images (such as a promotion you are having) and use those images on your SSL pages). I am not sure how this will affect adding images to the admin, I didn't look at it that much. Another thing you will need is http://www.oscommerce.com/community/contributions,933 which can email you every time you get a 404 (not found) error when a customer is viewing your site. That way if there is no remote image you will be notified and can fix the problem. It won't tell you the minute it happens but when a customer views that page. ** This should work ** Just found this contribution http://www.oscommerce.com/community/contributions,4936
Recommended Posts
Archived
This topic is now archived and is closed to further replies.