Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

what file do i edit to link an image on my site link to another site?


hel8itch

Recommended Posts

i have a facebook image on my site and would like to know how to link it to facebook? it currently go's to my specials.php page .i have looked through so many files and cant find what file contains the details i need to edit.

http://medwaymarket.co.uk/shop/index.php

Link to comment
Share on other sites

Just edit the file that displays the image and change the way it is displayed.

Now it is probably using PHP (tep_img function if I remember correctly).

You want to change to a static <img src="http://www.facebook......">

 

Why do you need it? There are few things against the approach:

1. Loading of image from a different site will slow down your page (additional DNS request + latency of a second site)

2. Customers may get warning :this page contains both secure and unsecure items....."

 

Personally, i would store all the required images locally if possible.

 

Rudolf

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...