madmatt2006 Posted May 7, 2010 Share Posted May 7, 2010 Hello all :D I need some help to get Easy Populate 2.76 to import images via a web address like Products Import from CSV File v2.0 can. I have Easy Populate 2.76 working but I need it to get it's images via a http:// address when I put the web address in for the images in the the Easy Populate import file they don't appear like they do with Products Import from CSV File v2.0. With Products Import from CSV File v2.0 you put in the http://address and it puts the image in no problems. With Easy Populate 2.76 you put in the http://address and it puts the image don't work. Any ideas how to get this working? Quote Link to comment Share on other sites More sharing options...
madmatt2006 Posted May 7, 2010 Author Share Posted May 7, 2010 Oh also the thing I don't understand is if you add a product manually and put in http:// address for image it works :-" Quote Link to comment Share on other sites More sharing options...
madmatt2006 Posted May 7, 2010 Author Share Posted May 7, 2010 from looking around many have tried this but it's not possible with easy populate to use remote images is this correct? So I stop wasting my time Quote Link to comment Share on other sites More sharing options...
madmatt2006 Posted May 12, 2010 Author Share Posted May 12, 2010 ok a bit of an update my so called friend said I only need to modify one of the 2 php files in the easy populate mod to get it to import url's as images and he said it's only one line of code but he won't tell me! Some friend hey? :lol: has anyone got any ideas of what line he's talking about? Quote Link to comment Share on other sites More sharing options...
lucilled Posted May 14, 2010 Share Posted May 14, 2010 ok a bit of an update my so called friend said I only need to modify one of the 2 php files in the easy populate mod to get it to import url's as images and he said it's only one line of code but he won't tell me! Some friend hey? :lol: has anyone got any ideas of what line he's talking about? Hi Matt, Open the easypopulate.php file found in your admin folder of the module install files. Look for this section here: // **************************************** // Froogle configuration variables // Here are some links regarding Bulk uploads // http://www.google.com/base/attributes.html // http://www.google.com/base/help/custom-attributes.html // **************************************** // **** Froogle product info page path **** // We can't use the tep functions to create the link, because the links will point to the // admin, since that's where we're at. So put the entire path to your product_info.php page here define ('EP_FROOGLE_PRODUCT_INFO_PATH', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . "http://www.URL.com/product_info.php"); // **** Froogle product image path **** // Set this to the path to your images directory define ('EP_FROOGLE_IMAGE_PATH', HTTP_CATALOG_SERVER . DIR_WS_CATALOG_IMAGES . "http://www.URL.com/images/"); // **** Froogle - search engine friendly setting // if your store has SEARCH ENGINE FRIENDLY URLS set, then turn this to true // I did it this way because I'm having trouble with the code seeing the constants // that are defined in other places. define ('EP_FROOGLE_SEF_URLS', false); // default is false // **** Froogle Currency Setting define ('EP_FROOGLE_CURRENCY', 'USD'); // default is 'USD' // **************************************** // End: Froogle configuration variables // Change the two lines of code found at line 325 and 329 to point to the correct URL. I had to add the ending at line 329 "http://www.URL.com/images/") for the code to work properly. That should be all. Let me know if it works out for you. ~Lucille Quote Link to comment Share on other sites More sharing options...
johnnybebad Posted May 14, 2010 Share Posted May 14, 2010 Hi Matt, Open the easypopulate.php file found in your admin folder of the module install files. Look for this section here: // **************************************** // Froogle configuration variables // Here are some links regarding Bulk uploads // http://www.google.com/base/attributes.html // http://www.google.com/base/help/custom-attributes.html // **************************************** // **** Froogle product info page path **** // We can't use the tep functions to create the link, because the links will point to the // admin, since that's where we're at. So put the entire path to your product_info.php page here define ('EP_FROOGLE_PRODUCT_INFO_PATH', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . "http://www.URL.com/product_info.php"); // **** Froogle product image path **** // Set this to the path to your images directory define ('EP_FROOGLE_IMAGE_PATH', HTTP_CATALOG_SERVER . DIR_WS_CATALOG_IMAGES . "http://www.URL.com/images/"); // **** Froogle - search engine friendly setting // if your store has SEARCH ENGINE FRIENDLY URLS set, then turn this to true // I did it this way because I'm having trouble with the code seeing the constants // that are defined in other places. define ('EP_FROOGLE_SEF_URLS', false); // default is false // **** Froogle Currency Setting define ('EP_FROOGLE_CURRENCY', 'USD'); // default is 'USD' // **************************************** // End: Froogle configuration variables // Change the two lines of code found at line 325 and 329 to point to the correct URL. I had to add the ending at line 329 "http://www.URL.com/images/") for the code to work properly. That should be all. Let me know if it works out for you. ~Lucille Quote Getting better with mods but no programmer am I. Link to comment Share on other sites More sharing options...
madmatt2006 Posted May 17, 2010 Author Share Posted May 17, 2010 Thank you very much :) helped me a lot! Quote Link to comment Share on other sites More sharing options...
lucilled Posted May 17, 2010 Share Posted May 17, 2010 No problem at all. Glad I could help. Quote Link to comment Share on other sites More sharing options...
perfumeplus Posted May 31, 2010 Share Posted May 31, 2010 Hey, i am struggling with the same problem. I have followed your instructions on editing the easypopulate php file - there are just some things am unsure of I copied your code example word for word but it hasn't worked. I guess I need to edit the added code to say 'fragrancex.com/images'?? I tried this except my image URL's dont follow the same format, there are many sub pages eg: fragrancex.com/***/****/images/***/***.jpg I tried using this URL up to the last slash (/) before the image name but this failed also. Also for the editing on line 325 is this necessary if my product info isn't sourced from a URL. its only my images. Any help would be greatly appreciated. Thanks 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.