Forums / Templates, Stylesheets, Page Layout / Insert image into footer but not working.

Insert image into footer but not working.

Locked

Views: 1,508

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
22 Oct 2007, 8:33 AM
#1
kevinc66 avatar

kevinc66

New Zenner

Join Date:
May 2006
Posts:
76
Plugin Contributions:
0

Insert image into footer but not working.

Hi, seems so easy but somehow unable to get it right. If you go my website http://www.jintexelectronics.com, bottom left, there a cross out image. That where i wants to put my credit card image.

I insert it into includes/templates/template_default/common/tpl_footer.php using this code <img src="(http://www.jintexelectronics.com/jintex/includes/templates/template_default/images/ezypay.gif)" alt="Maybank Ezpayment Schemes"/>

Nothing seems to appear. I uploaded my ezy.gif into any images folder i can find but still no image appear.

Thanks in advance for any help
Kevin

22 Oct 2007, 10:35 AM
#2
billybonds avatar

billybonds

Zen Follower

Join Date:
Nov 2003
Location:
UK
Posts:
102
Plugin Contributions:
0

Re: Insert image into footer but not working.

You could put the image inside ROOT/images and then

<img src="images/ezypay.gif" alt="Maybank Ezpayment Schemes"/>
22 Oct 2007, 11:30 AM
#3
madmumbler avatar

madmumbler

Zen Follower

Join Date:
Dec 2005
Location:
SWFL
Posts:
450
Plugin Contributions:
0

Re: Insert image into footer but not working.

You don't want to use the template_default folder for images. You want to either put it in your template images folder or the Zen Cart main images folder. Upload the image and use your browser to navigate directly to the image location to make sure it's there, then copy and paste the image location url.

HOWEVER, if you're using SSL, if you have two directories for your secure stuff, you may also have to load it into your SSL directory as well to keep it from throwing an insecure item error in the browser.

HTH,

Lesli in SW Florida ~ writer, teacher, and dodging hurricanes!

22 Oct 2007, 12:01 PM
#4
billybonds avatar

billybonds

Zen Follower

Join Date:
Nov 2003
Location:
UK
Posts:
102
Plugin Contributions:
0

Re: Insert image into footer but not working.

Whoops! Was looking at my own file structure there. Should have been more clear. The file should go into your images folder in the root of your Zen Cart file structure.

22 Oct 2007, 12:28 PM
#5
kevinc66 avatar

kevinc66

New Zenner

Join Date:
May 2006
Posts:
76
Plugin Contributions:
0

Re: Insert image into footer but not working.

Hey, thanks billiybonds, it works, just as simple as that. I swore that i am good at it but just can't made the image appear.

Many thanks to you fellows for the efforts.

Kevin

22 Oct 2007, 4:03 PM
#6
billybonds avatar

billybonds

Zen Follower

Join Date:
Nov 2003
Location:
UK
Posts:
102
Plugin Contributions:
0

Re: Insert image into footer but not working.

No problem, I suspect that it was actually the brackets causing the problem.

23 Oct 2007, 5:37 AM
#7
kevinc66 avatar

kevinc66

New Zenner

Join Date:
May 2006
Posts:
76
Plugin Contributions:
0

Re: Insert image into footer but not working.

Well, now the image is working, there's another problem. I am trying to align the image into center. My code is <img src="images/ezypay.gif" alt="Maybank Ezpayment Schemes" align="center" /> but it still stuck at the left. But if i change my align=right...whoops it's jump to the right .

Somehow my align center is not working. I also tried to insert <table><tr> into it and align canter, it's still not working.

Thanks for any help.
Kevin