Guest sean.wingad Posted October 20, 2008 Share Posted October 20, 2008 I have a large product database that uses outside urls as the product image source. When using the "view source" function in IE, the code is as follows : SRC="images/uploads/xxxxx.jpg My goal is to drop the : "images/uploads/" And just have the : SRC="http://xxxxxxxxxxx.jpg The image urls are sucessfully uploaded into the php database, so now I think I need to change the path of the code, to pull the urls from the database rather than ftp://xxx/images/uploads/ Then theres the resizing issue from thumbnail to full size product image. This problem has been driving me crazy! Can anybody point me in the right direction? Quote Link to comment Share on other sites More sharing options...
Guest Brivtech Posted October 20, 2008 Share Posted October 20, 2008 Bear in mind that if you have SSL for the secure pages (Checkout, registration, etc.), it'll produce errors of displaying non-secure items on the page to your customers. Quote Link to comment Share on other sites More sharing options...
Guest sean.wingad Posted October 20, 2008 Share Posted October 20, 2008 Bear in mind that if you have SSL for the secure pages (Checkout, registration, etc.), it'll produce errors of displaying non-secure items on the page to your customers. Hi, Thanks for the tip. But do you have any idea how to achieve using external urls as product picture? Assuming they are all coming from the same domain, just add the first part of the domain path in the template file, and use the product code as the image number instead of the image filename. Quote Link to comment Share on other sites More sharing options...
Guest sean.wingad Posted October 25, 2008 Share Posted October 25, 2008 Bear in mind that if you have SSL for the secure pages (Checkout, registration, etc.), it'll produce errors of displaying non-secure items on the page to your customers. Hi, Thanks for the tip. But do you have any idea how to achieve using external urls as product picture? Assuming they are all coming from the same domain, just add the first part of the domain path in the template file, and use the product code as the image number instead of the image filename. Thanks for help, But im not quite sure where to add the first part of the domain? Please could you explain in further detail? it would be greatly appreicated. Thanks Bear in mind that if you have SSL for the secure pages (Checkout, registration, etc.), it'll produce errors of displaying non-secure items on the page to your customers. Hi, Thanks for the tip. But do you have any idea how to achieve using external urls as product picture? Assuming they are all coming from the same domain, just add the first part of the domain path in the template file, and use the product code as the image number instead of the image filename. Thanks for help, But im not quite sure where to add the first part of the domain? Please could you explain in further detail? it would be greatly appreicated. 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.