Forums / General Questions / Cant get image to appear

Cant get image to appear

Locked

Views: 551

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
20 Dec 2010, 3:30 PM
#1
rspencer1762 avatar

rspencer1762

New Zenner

Join Date:
Oct 2010
Location:
deep south
Posts:
88
Plugin Contributions:
0

Cant get image to appear

I have tried using the tutorials and using W3schools to get my code right but for some reason i am unable too.
I am using 1.3.9g zencart. What i want to do is place a image in white space in image:
I am using the code here.

<a href="http://www.leatherparlor.com/" target="_blank"><img src="images/globalgateway.gif" width="100" height="100" alt="" /></a>

Can someone tell me where i am making my mistake. I am placing this line of code in the footer on the css file as tutorials say too.

20 Dec 2010, 3:38 PM
#2
vger avatar

vger

Past Contributor

Join Date:
Nov 2004
Location:
Norfolk, United Kingdom
Posts:
3,189
Plugin Contributions:
0

Re: Cant get image to appear

place a image in white space in image
I'm sorry but that didn't make much sense to me. Are you trying to create a white space into which you place an image, or are you trying to load an image showing white space?

FYI self closing tags often fail W3C Validation. So I'd try:

<a href="http://www.leatherparlor.com" target="_blank"><img src="images/globalgateway.gif" width="100" height="100" alt=""></a>

Vger

20 Dec 2010, 3:52 PM
#3
rspencer1762 avatar

rspencer1762

New Zenner

Join Date:
Oct 2010
Location:
deep south
Posts:
88
Plugin Contributions:
0

Re: Cant get image to appear

Sorry... i am seeing double here... I am trying to place an image(globalgateway.gif) at the location of the white space on the picture i uploaded. The white space is to just show the location of the gif. Sorry for not being more clear. I just seem to be unable to make it go where i want it nor will it show up on page.

20 Dec 2010, 4:00 PM
#4
vger avatar

vger

Past Contributor

Join Date:
Nov 2004
Location:
Norfolk, United Kingdom
Posts:
3,189
Plugin Contributions:
0

Re: Cant get image to appear

If you want to place an image in the footer then why not use the Banner Manager? That will call in this code in includes/templates/tamplate_default/common/tpl_footer.php

<?php
  if (SHOW_BANNERS_GROUP_SET5 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET5)) {
    if ($banner->RecordCount() > 0) {
?>
<div id="bannerFive" class="banners"><?php echo zen_display_banner('static', $banner); ?></div>
<?php
    }
  }
?>

Vger

20 Dec 2010, 4:10 PM
#5
rspencer1762 avatar

rspencer1762

New Zenner

Join Date:
Oct 2010
Location:
deep south
Posts:
88
Plugin Contributions:
0

Re: Cant get image to appear

See you just went over my head. I am all new to this and now i am lost big time. I thought that you used the css stylesheet to place images into the template ? Can you explain this in more detail ? Thank you.

20 Dec 2010, 4:31 PM
#6
vger avatar

vger

Past Contributor

Join Date:
Nov 2004
Location:
Norfolk, United Kingdom
Posts:
3,189
Plugin Contributions:
0

Re: Cant get image to appear

I'm afraid it's not possible to give a one-on-one talk through on everything you need to know in order to run a Zen Cart site. However, there is the "Tutorials/FAQs" section (link at top of page) which will provide all of the info you need to know. It's a mine of useful information.

Vger

20 Dec 2010, 11:16 PM
#7
rspencer1762 avatar

rspencer1762

New Zenner

Join Date:
Oct 2010
Location:
deep south
Posts:
88
Plugin Contributions:
0

Re: Cant get image to appear

Thank you for your help... i figured it out by using editable side box..