nomad7071 Posted April 5, 2008 Share Posted April 5, 2008 Hello everyone. I am new to oscommerce and was wondering if I can use my suppliers images as supplied to me in the form of a Url in my database csv file. I have full permission to use their image server to display their product images on my site. They have supplied the complete list of URLs for 3 separate sized images per product. With nearly 6000 products ...well thats alot of downloading and renaming and oh my sorting rows and each time an update is done its a looooooong haul. Any new addons or fixes to allow this?? Thanks Quote Link to comment Share on other sites More sharing options...
web-project Posted April 5, 2008 Share Posted April 5, 2008 No without permition you can't use the supplier logo. Quote Please read this line: Do you want to find all the answers to your questions? click here. As for contribution database it's located here! 8 people out of 10 don't bother to read installation manuals. I can recommend: if you can't read the installation manual, don't bother to install any contribution yourself. Before installing contribution or editing/updating/deleting any files, do the full backup, it will save to you & everyone here on the forum time to fix your issues. Any issues with oscommerce, I am here to help you. Link to comment Share on other sites More sharing options...
nomad7071 Posted April 5, 2008 Author Share Posted April 5, 2008 I have full permission.. What i want to do is use the URL they supplied to display their images on my site. (eg. http://www.suppliersite.com/images/image1.jpg ) This supplier has a server just for its clients to use. BUT my images are always pointing to my image folder. How can I point them to the url's supplied instead?? Quote Link to comment Share on other sites More sharing options...
dosterhout Posted April 6, 2008 Share Posted April 6, 2008 I have full permission.. What i want to do is use the URL they supplied to display their images on my site. (eg. http://www.suppliersite.com/images/image1.jpg )This supplier has a server just for its clients to use. BUT my images are always pointing to my image folder. How can I point them to the url's supplied instead?? I've been fighting this same issue for 3 days... I've even tried to use the contribution get_product_image with no luck this it the code.. <?php /* Get images from a remote server, see readme.txt for instructions, free for all to use. by Sean Clark - 2007 http://www.seanclark.co.uk/ */ header('Content-type: image/jpeg'); readfile($_GET['id']); ?> I have the php file in /calalog/images/ is directed if you go to http://discrete-sensations.com/catalog/ima...oduct_image.php you can tell the file is there... any help would be greatly appreciated dan Quote Link to comment Share on other sites More sharing options...
dosterhout Posted April 6, 2008 Share Posted April 6, 2008 Other info you may ask... using easy populate to upload products and have placed the format stated in the product image area... get_product_image.php?id=HTTP://images.sextoysex.com/BA/002.JPG Things I've noticed... Some of the image names are too long now so that will have to be resolved once the images are showing... When the image is placed in the image directory as osCom expects it works fine. The image is at the url. Quote Link to comment Share on other sites More sharing options...
dosterhout Posted April 7, 2008 Share Posted April 7, 2008 According to my host it is there fairewall preventing this from working and they are going to allow so I will check back later to let you know if the get_products_image.php really works nomad Quote Link to comment Share on other sites More sharing options...
dosterhout Posted April 7, 2008 Share Posted April 7, 2008 This simple addition solution works well...... YES! Quote Link to comment Share on other sites More sharing options...
nomad7071 Posted April 7, 2008 Author Share Posted April 7, 2008 :thumbsup: I'll give it a try.. Thanks Alot!!! Quote Link to comment Share on other sites More sharing options...
lightshine Posted February 9, 2009 Share Posted February 9, 2009 How to use this with easy populate? Quote Link to comment Share on other sites More sharing options...
psnw Posted July 3, 2009 Share Posted July 3, 2009 Is this thread still alive? I too have the same problem with remote images. Is there a Guru out there willing to lend some assistance? Quote Link to comment Share on other sites More sharing options...
madmatt2006 Posted May 7, 2010 Share Posted May 7, 2010 I have tried this and followed instructions to a T and it don't work. Got any ideas why is this thread still live. This is so stupid trying to get remote images to work with easy populate why did they no make it handle this or is there a mod to make easy populate to do this. A royal pain in the ass this has been. Surly someone must run easy populate with images set as a http:// address can anyone please help me I have been trying for weeks to get this to work. I have tried dosterhout method and in OSC it appears as get_product_image.php?id=HTTP://images.sextoysex.com/BA/002.JPG the image no the image for the link provided. Quote Link to comment Share on other sites More sharing options...
Guest Posted December 3, 2010 Share Posted December 3, 2010 (edited) Looks like no one is a 'guru' here. I tried Get_Remote_Product_Images_v1.2 and it does not work. It sets up the image location correctly, but never loads the image. I think the "get_product_image.php" file is not executing. @madmatt2006 I'll find another way. Chack back later. Edited December 3, 2010 by mb01a Quote Link to comment Share on other sites More sharing options...
kliksys Posted July 21, 2011 Share Posted July 21, 2011 I find it stupid that oScommerce nor any of the php Gurs's have that ran into this problem and come up with a fix or contribution? Please if anyone can lend a hand with this it would be greatly appreciated. Quote Knowledge is useless, unless transferred. Link to comment Share on other sites More sharing options...
Guest Posted August 24, 2011 Share Posted August 24, 2011 The only think I've got from the 'gurus' is a lot of questions about why do I want to use images that reside on another server. I suspect that these folks just don't want to do it, or can't figure out why it won't work. Quote Link to comment Share on other sites More sharing options...
kliksys Posted January 26, 2012 Share Posted January 26, 2012 I've gotten it working using easy populate, just make sure in the database that the image field allows you enough characters and you can drop the entire url in the db with easy populate Kliksys Quote Knowledge is useless, unless transferred. Link to comment Share on other sites More sharing options...
alexiscruz007 Posted August 24, 2015 Share Posted August 24, 2015 we used very well, is you have problem contat you host, the version 1 and 1.2 is diferent, prove with both. Quote Link to comment Share on other sites More sharing options...
alexiscruz007 Posted September 9, 2019 Share Posted September 9, 2019 I have problem now if the url have special chart like %. i think whit de urlencode() but not work. Quote Link to comment Share on other sites More sharing options...
fridgebox Posted September 9, 2019 Share Posted September 9, 2019 (edited) 8 minutes ago, alexiscruz007 said: I have problem now if the url have special chart like %. i think whit de urlencode() but not work. you need urldecode OR rawurldecode There is some websites where you can TEST your given url strings. for example: Encode https://www.urlencoder.org/ Decode:https://www.urldecoder.org/ Edited September 9, 2019 by fridgebox Quote Link to comment Share on other sites More sharing options...
alexiscruz007 Posted September 9, 2019 Share Posted September 9, 2019 thanks, the urlencoder dont work, this fix the problem. readfile(str_replace(" ", "%20", $url)); in this add on use. change: readfile($_GET['id']); for: readfile(str_replace(" ", "%20", $_GET['id'])); Quote Link to comment Share on other sites More sharing options...
fridgebox Posted September 9, 2019 Share Posted September 9, 2019 31 minutes ago, alexiscruz007 said: thanks, the urlencoder dont work, TRY: urldecode Quote Link to comment Share on other sites More sharing options...
alexiscruz007 Posted September 16, 2019 Share Posted September 16, 2019 readfile(urldecode($_GET['id'])); urldecode dont work. Quote Link to comment Share on other sites More sharing options...
alexiscruz007 Posted September 16, 2019 Share Posted September 16, 2019 readfile(rawurldecode($_GET['id'])); rawurldecode dont work. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.