sballen Posted September 9, 2008 Posted September 9, 2008 Is there a way to edit oscommerce to except images from another web-site? My supplier supplies the images for my products and it's such a job to copy, paste, upload and type the url into a .csv file. I could save a lot of work and time if I just type in the suppliers url to the images. BUT THIS DOESN'T WORK, OSCOMMERCE WILL NOT GO AND GET THE IMAGE AS IT DOES WHEN I TYPE IN THE URL TO IT'S OWN IMAGE FILE. Also, why won't it just take "image_number/name.jpg" instead of having to type in "http://www.and so on?.com/file/catalog/images/the image.jpg"?
lindsayanng Posted September 9, 2008 Posted September 9, 2008 your post is a tad confusing. Are you saying you want to put your images in a different file on your host, or you want a different website entirely to host your picturesm like photobucket? You CAN do either, but there are different processes for each. The issue with using a different server to host your images is that you will get insecure objects warnings. A great place for newbies to start Road Map to oscommerce File Structure DO NOT PM ME FOR HELP. My time is valuable, unless i ask you to PM me, please dont. You will get better help if you post publicly. I am not as good at this as you think anyways! HOWEVER, you can visit my blog (go to my profile to see it) and post a question there, i will find time to get back and answer you Proud Memeber of the CODE BREAKERS CLUB!!
♥geoffreywalton Posted September 9, 2008 Posted September 9, 2008 You can write php to retrieve the image from a url and store it in your images directory and combine with easy populate to store the image name in the db. You can even use a csv file with the url in it to drive this. e.g. Supplier sends you product catalog containing model no, description. image url and price. php retrieves image and stores it as modelno.jpg. Use Easy Populate stores image name as modelno.jpg Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile Virus Threat Scanner My Contributions Basic install answers. Click here for Contributions / Add Ons. UK your site. Site Move. Basic design info. For links mentioned in old answers that are no longer here follow this link Useful Threads. If this post was useful, click the Like This button over there ======>>>>>.
sballen Posted September 13, 2008 Author Posted September 13, 2008 your post is a tad confusing. Are you saying you want to put your images in a different file on your host, or you want a different website entirely to host your picturesm like photobucket? You CAN do either, but there are different processes for each. The issue with using a different server to host your images is that you will get insecure objects warnings. I wanted to use the images on my suppliers site. The same ones they use when I visit their site. I have permission, to use their images by downloading one at a time. I don't know if you want me to use them straight from my site. But if I could figure out how to do it. I'd ask them.
sballen Posted September 13, 2008 Author Posted September 13, 2008 You can write php to retrieve the image from a url and store it in your images directory and combine with easy populate to store the image name in the db. You can even use a csv file with the url in it to drive this. e.g. Supplier sends you product catalog containing model no, description. image url and price. php retrieves image and stores it as modelno.jpg. Use Easy Populate stores image name as modelno.jpg I used the .csv file with a url, it doesn't pull the image from the other site. Write an e-book on the top paragraph, I'd like to learn to do that.
♥geoffreywalton Posted September 13, 2008 Posted September 13, 2008 Some one already has written a book on it, it is called www.php.net. Hours of endless fun and frustration are included within it. But the command you are interested in is "copy". Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile Virus Threat Scanner My Contributions Basic install answers. Click here for Contributions / Add Ons. UK your site. Site Move. Basic design info. For links mentioned in old answers that are no longer here follow this link Useful Threads. If this post was useful, click the Like This button over there ======>>>>>.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.