glycerine Posted December 12, 2008 Share Posted December 12, 2008 I currently get a feed from my supplier and for the product images I receive the following string: http://afc.retail.sprint3.com/package/webS...ageCode=21.1024 Is there away for oscommerce to use that and display the image. (the numbers at the end are different for each product.) Thanks Link to comment Share on other sites More sharing options...
♥zelf Posted December 12, 2008 Share Posted December 12, 2008 Is there away for oscommerce to use that and display the image. What is parsing this feed? Or are you manually inputting the info for each product? Virtual Merchant a.k.a. Elavon, ViaKlix, Nova Payment Module Contribution Link to comment Share on other sites More sharing options...
glycerine Posted December 14, 2008 Author Share Posted December 14, 2008 Im using the contrib easy populate to create every item in the store. Link to comment Share on other sites More sharing options...
♥FWR Media Posted December 14, 2008 Share Posted December 14, 2008 Im using the contrib easy populate to create every item in the store. Yes you can do it, but it's a horrible way to do it .. tep_image("http://afc.retail.sprint3.com/package/webService/kernel_images_ActualRender.asp?strImageCode=21.1024"); Your site will run slow, if you have ssl it will show a broken padlock .. so on and so forth. Ultimate SEO Urls 5 PRO - Multi Language Modern, Powerful SEO Urls KissMT Dynamic SEO Meta & Canonical Header Tags KissER Error Handling and Debugging KissIT Image Thumbnailer Security Pro - Querystring protection against hackers ( a KISS contribution ) If you found my post useful please click the "Like This" button to the right. Please only PM me for paid work. Link to comment Share on other sites More sharing options...
glycerine Posted December 14, 2008 Author Share Posted December 14, 2008 Yes you can do it, but it's a horrible way to do it .. tep_image("http://afc.retail.sprint3.com/package/webService/kernel_images_ActualRender.asp?strImageCode=21.1024"); Your site will run slow, if you have ssl it will show a broken padlock .. so on and so forth. Great thanks for that but how would i use it when importing with easy populate? Do i need to change the file(s) for example product_info.php where is says: tep_image(DIR_WS_IMAGES . $product_info['products_image'], $product_info['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5"') to tep_image($product_info['products_image'], $product_info['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5"') or am i missing something? Thanks Link to comment Share on other sites More sharing options...
glycerine Posted December 14, 2008 Author Share Posted December 14, 2008 Thanks FWR ive got it working now. What i have done is where is says "DIR_WS_IMAGES" before 'products_image' ive changed it to "DIR_WS_PRODUCT_IMAGES" and defined it in the english.php as ''. Hope this will help anyone else who has the same problem. Also you will have to look through all the different php files taht call the product image and change the directory that it calls it from to "DIR_WS_PRODUCT_IMAGES". Thanks again FWR :D Link to comment Share on other sites More sharing options...
♥FWR Media Posted December 14, 2008 Share Posted December 14, 2008 Thanks FWR ive got it working now. What i have done is where is says "DIR_WS_IMAGES" before 'products_image' ive changed it to "DIR_WS_PRODUCT_IMAGES" and defined it in the english.php as ''. Hope this will help anyone else who has the same problem. Also you will have to look through all the different php files taht call the product image and change the directory that it calls it from to "DIR_WS_PRODUCT_IMAGES". Thanks again FWR :D Glad you got it working. Ultimate SEO Urls 5 PRO - Multi Language Modern, Powerful SEO Urls KissMT Dynamic SEO Meta & Canonical Header Tags KissER Error Handling and Debugging KissIT Image Thumbnailer Security Pro - Querystring protection against hackers ( a KISS contribution ) If you found my post useful please click the "Like This" button to the right. Please only PM me for paid work. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.