Forums / Templates, Stylesheets, Page Layout / Adding ALT tag to image in header

Adding ALT tag to image in header

Locked

Views: 1,384

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
14 Feb 2010, 4:11 AM
#1
bhensarl avatar

bhensarl

New Zenner

Join Date:
Feb 2010
Posts:
67
Plugin Contributions:
0

Adding ALT tag to image in header

I want to add an ALT tag to an image in my header but I can't figure out where to add it. Here's the code in the tpl_header.php file.

<a href="<?php echo zen_href_link(FILENAME_DEFAULT);?>"><?php echo zen_image(DIR_WS_TEMPLATE.'images/logo.png'); ?></a><br />

Which file do I add the info to? Thanks.
Brian

14 Feb 2010, 5:05 AM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Adding ALT tag to image in header

These are the paramaters for the zen_image function:
function zen_image($src, $alt = '', $width = '', $height = '', $parameters = '') {

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

14 Feb 2010, 5:15 AM
#3
bhensarl avatar

bhensarl

New Zenner

Join Date:
Feb 2010
Posts:
67
Plugin Contributions:
0

Re: Adding ALT tag to image in header

Ajeh, thanks so much for your quick response! What is the proper way to incorporate that code into the page? I'm pretty much php illiterate. Thanks for the help.