Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Product images via web string


glycerine

Recommended Posts

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.

Link to comment
Share on other sites

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

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

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.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...