Page 1 of 2 12 LastLast
Results 1 to 10 of 19
  1. #1
    Join Date
    Sep 2008
    Posts
    14
    Plugin Contributions
    0

    Default Help inserting an image in the footer

    After searching the forums, I still cannot find the answer as to how to insert an image into the footer. I'm trying to add an image I created in Photoshop for the available payment methods. I have inserted the following code in my css stylesheet:

    #navSuppWrapper {
    height: 120px;
    background-image: url ../images/Payment_Methods.jpg);
    }


    What else do I need to do to get this image inserted into the footer? Any help would be greatly appreciated.

    The link to my website is www.rivercitypetsupplies.com

    Thanks!!

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Help inserting an image in the footer

    when loading the following I get a 404 not found indicating that the image is not at that location (remove space)

    http: //www.rivercitypetsupplies.com/includes/templates/ps_template/images/Payment_Methods.jpg

    Check that the image has been uploaded, spelled correctly including caps or lack of caps
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Jan 2005
    Posts
    186
    Plugin Contributions
    0

    Default Re: Help inserting an image in the footer

    It is in the root images folder

    http://www.rivercitypetsupplies.com/...nt_Methods.jpg

    Marc

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Help inserting an image in the footer

    Quote Originally Posted by tat2nu
    It is in the root images folder
    This code points to the template images folder
    Code:
    background-image: url ../images/Payment_Methods.jpg);
    copy the image to that location
    Zen-Venom Get Bitten

  5. #5
    Join Date
    Jan 2005
    Posts
    186
    Plugin Contributions
    0

    Default Re: Help inserting an image in the footer

    I understand, that is the problem. The image is not there it is in the main images folder. That is what I was trying to say.

    Marc

  6. #6
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Help inserting an image in the footer

    Quote Originally Posted by tat2nu
    I understand, that is the problem. The image is not there it is in the main images folder. That is what I was trying to say.
    Got that but your post only stated that.

    I was posting what the OP should do to correct
    Zen-Venom Get Bitten

  7. #7
    Join Date
    Sep 2008
    Posts
    14
    Plugin Contributions
    0

    Default Re: Help inserting an image in the footer

    Thank you both. I made the correction and took out the space, but still no image in the footer. Thanks for pointing it out that I had uploaded the file to the wrong folder. Sometimes you can't see the snake that's right in front of your face!!

    What else do I have to do to get this image into the footer?

    Thanks for all of your help!!

  8. #8
    Join Date
    Dec 2007
    Location
    Southern Maine
    Posts
    281
    Plugin Contributions
    0

    Default Re: Help inserting an image in the footer

    Try placing the following code in: includes/templates/YOUR_TEMPLATE/common/tpl_footer.php

    Code:
    <center><img src="http://YOURSITE.com/images/YOUR_IMAGE.jpg"></center>
    Mine is around line 40, but yours may differ slightly.

    Check out mistkits.com first to see if that is similar to what you are trying to accomplish. I have a picture of a bug there, yours would be the image you created.

  9. #9
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Help inserting an image in the footer

    daneh is on the right track after seeing your image which is not perfect for being a background image.
    But make the call a relative one instead of an http one so as not to break any SSL pages
    Code:
    <center><img src="images/YOUR_IMAGE.jpg"></center>
    And this requires it to be in your main /images folder
    Zen-Venom Get Bitten

  10. #10
    Join Date
    Jan 2005
    Posts
    186
    Plugin Contributions
    0

    Default Re: Help inserting an image in the footer

    If there is not a copy of that file in includes/templates/YOUR_TEMPLATE/common/tpl_footer.php to modify then should get a copy of the file from includes/templates/template_default/common/tpl_footer.php and place one there. Then in that new file in includes/templates/YOUR_TEMPLATE/common/tpl_footer.php you would want to replace this:

    Code:
    <div id="navSupp">
    <ul>
    <li><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">'; ?><?php echo HEADER_TITLE_CATALOG; ?></a></li>
    <?php if (EZPAGES_STATUS_FOOTER == '1' or (EZPAGES_STATUS_FOOTER == '2' and (strstr(EXCLUDE_ADMIN_IP_FOR_MAINTENANCE, $_SERVER['REMOTE_ADDR'])))) { ?>
    <li><?php require($template->get_template_dir('tpl_ezpages_bar_footer.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_ezpages_bar_footer.php'); ?></li>
    <?php } ?>
    </ul>
    </div>
    with this:

    Code:
    <div id="navSupp">
    <ul>
    <li><a href="http://www.rivercitypetsupplies.com/"><img src="images/Payment_Methods.jpg"></a></li>
    <li></li>
    </ul>
    </div>
    This gives it a real nice look and the image also acts just as the 'HOME' link did or you could redirect it to a payments information page if you want.

    Marc
    Attached Images Attached Images  

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v150 Inserting a jpg into the footer
    By ocmusic in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 6 Jun 2013, 02:59 AM
  2. After inserting an image, everything else is shifted to the right
    By bodkin77 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 24 May 2013, 01:10 PM
  3. Replies: 1
    Last Post: 31 Dec 2009, 01:36 AM
  4. Inserting An HTML Image - Help Please
    By DPM in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 9 Jul 2009, 10:12 AM
  5. Help With Inserting Small Credit Card Logo in Footer Pretty Please
    By ItzThePitz in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 24 Apr 2008, 01:56 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg