Results 1 to 5 of 5
  1. #1
    Join Date
    May 2008
    Location
    Italy
    Posts
    83
    Plugin Contributions
    0

    Default alt text to pictures

    Hi all
    How can i add alt text to pictures? Thanx

  2. #2
    Join Date
    Dec 2006
    Posts
    130
    Plugin Contributions
    0

    Default Re: alt text to pictures

    I simply googled "zen cart alt text images" and this is the solution I immediately found:

    http://www.zen-cart.com/forum/showthread.php?p=590714

  3. #3
    Join Date
    May 2008
    Location
    Italy
    Posts
    83
    Plugin Contributions
    0

    Default Re: alt text to pictures

    i would like some alt text on home and login pictures,not in product pictures!!

  4. #4
    Join Date
    May 2008
    Location
    Italy
    Posts
    83
    Plugin Contributions
    0

    Default Re: alt text to pictures

    This is a part of the code:

    <ul class="back">
    <li><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">'; ?><?=zen_image(DIR_WS_TEMPLATE.'images/'.'/bottonehome.gif')?></a></li>
    <?php if ($_SESSION['customer_id']) { ?>
    <li><a href="<?php echo zen_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>"><?=zen_image(DIR_WS_TEMPLATE.'images/'.'/bottonelogoff.gif')?></a></li>
    <li><a href="<?php echo zen_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>"><?=zen_image(DIR_WS_TEMPLATE.'images/'.'/bottoneaccount.gif')?></a></li>
    <?php
    } else {
    if (STORE_STATUS == '0') {
    ?>
    <li><a href="<?php echo zen_href_link(FILENAME_LOGIN, '', 'SSL'); ?>"><?=zen_image(DIR_WS_TEMPLATE.'images/'.'/bottonelogin.gif')?></a></li>
    <?php } } ?>

    <?php if ($_SESSION['cart']->count_contents() != 0) { ?>
    <li><a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>"><?=zen_image(DIR_WS_TEMPLATE.'images/'.'/bottonecarrello.gif')?></a></li>
    <li><a href="<?php echo zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>"><?=zen_image(DIR_WS_TEMPLATE.'images/'.'/bottoneconfermaordine.gif')?></a></li>
    <?php }?>
    </ul>

  5. #5
    Join Date
    May 2008
    Location
    Italy
    Posts
    83
    Plugin Contributions
    0

    Default Re: alt text to pictures

    ok i solved myself!!
    The way to do that is:

    change:
    zen_image(DIR_WS_TEMPLATE.'images/'.'/bottonelogin.gif')?>
    with:
    zen_image(DIR_WS_TEMPLATE.'images/'.'/bottonelogin.gif','alt text')?>
    Thanx anyway....

 

 

Similar Threads

  1. Replies: 2
    Last Post: 3 Sep 2013, 10:19 PM
  2. Add alt text to pictures in define_main_page
    By barendfaber in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 1 Aug 2011, 02:47 PM
  3. Category & Product Pictures - Alt Attribute
    By bginn in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 8 Jun 2010, 03:38 PM
  4. Alt Tag Product Pictures?
    By ryanb4614 in forum General Questions
    Replies: 2
    Last Post: 15 Feb 2009, 06:57 AM
  5. alt= / alt text setup / programming
    By prodesk in forum General Questions
    Replies: 2
    Last Post: 24 Feb 2007, 08:00 AM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR