Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / alt text to pictures

alt text to pictures

Locked

Views: 867

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
12 Aug 2008, 12:44
#1
cla74 avatar

cla74

New Zenner

Join Date:
May 2008
Location:
Italy
Posts:
83
Plugin Contributions:
0

alt text to pictures

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

13 Aug 2008, 00:11
#3
cla74 avatar

cla74

New Zenner

Join Date:
May 2008
Location:
Italy
Posts:
83
Plugin Contributions:
0

Re: alt text to pictures

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

13 Aug 2008, 15:02
#4
cla74 avatar

cla74

New Zenner

Join Date:
May 2008
Location:
Italy
Posts:
83
Plugin Contributions:
0

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>
14 Aug 2008, 13:15
#5
cla74 avatar

cla74

New Zenner

Join Date:
May 2008
Location:
Italy
Posts:
83
Plugin Contributions:
0

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....:smile: