Re: Images missing "ALT" text
does not do any good without the original image named logo.gif and the original php code in your header for the logoooooooooo
Re: Images missing "ALT" text
Quote:
Originally Posted by
usernamenone
That is because you did not follow the rest of the directions
!--<div id="logo"></div>--> this is your problem. Images called for out of the style sheet do not have alt text.
Put your logo in your templates images folder and name it logo.gif
Remove this <!--<div id="logo"></div>-->
and add this.
<div id="logo"><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">' . zen_image($template->get_template_dir(HEADER_LOGO_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . HEADER_LOGO_IMAGE, HEADER_ALT_TEXT) . '</a>'; ?></div>
I have done all your instructions, but I have used logo.jpg instead of logo.gif
Re: Images missing "ALT" text
Quote:
Originally Posted by
RescoCCC
That's what the /* in front of background-image: url(../images/header_bg.jpg); does.
@RescoCCC, thanks I know the function of /*, the thing i don't know is why in my admin screen that logo/banner acts as "home" link and shows the title text, and why it won't work in the catalog screen (front-end screen)
@usernamenone, hai, well it won't work the way we tried to solve this, perhaps to give it a try lateron.
thanks anyway !
Ceesdk
Re: Images missing "ALT" text
It works in your admin because it's coded as a logo. It isn't coded as a logo on your index page.
Check your includes/templates/your_template/common/ tpl_header.php file. Does this appear?
<div id="logo">
<?php // echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">' . zen_image($template->get_template_dir(HEADER_LOGO_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . HEADER_LOGO_IMAGE, HEADER_ALT_TEXT) . '</a>'; ?>
</div>
Re: Images missing "ALT" text
Quote:
Originally Posted by
RescoCCC
It works in your admin because it's coded as a logo. It isn't coded as a logo on your index page.
Check your includes/templates/your_template/common/ tpl_header.php file. Does this appear?
<div id="logo">
<?php // echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">' . zen_image($template->get_template_dir(HEADER_LOGO_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . HEADER_LOGO_IMAGE, HEADER_ALT_TEXT) . '</a>'; ?>
</div>
in admin it uses: "admin/includes/languages/english.php" that file has 4 defines those are :
define('HEADER_ALT_TEXT', 'Airlinersbuyweb.com :Buying Aircraft pictures on Canvas');
define('HEADER_LOGO_WIDTH', '1100px');
define('HEADER_LOGO_HEIGHT', '148px');
define('HEADER_LOGO_IMAGE', 'bannerbuyweb.jpg');
below the line in: includes/templates/your_template/common/ tpl_header.php file
<!--bof-branding display-->
<div id="logoWrapper">
<div id="logo"><?php // echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">' . zen_image($template->get_template_dir(HEADER_LOGO_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . HEADER_LOGO_IMAGE, HEADER_ALT_TEXT) . '</a>'; ?></div>
Re: Images missing "ALT" text
Do you have those define statements in includes/languages/english/your_template/header.php?
Re: Images missing "ALT" text
Quote:
Originally Posted by
RescoCCC
Do you have those define statements in includes/languages/english/your_template/header.php?
this is in : includes\languages\english\your_template\header.php
define('HEADER_ALT_TEXT', 'www.airlinersbuyweb.com :: Buy pictures of aircrafts on mugs, t-shirts, canvas and more [home link]');
define('HEADER_SALES_TEXT', '<h1>Buy your aircraft pictures</h1>');
define('HEADER_LOGO_WIDTH', '1100px');
define('HEADER_LOGO_HEIGHT', '148px');
define('HEADER_LOGO_IMAGE', 'logo.jpg');
Re: Images missing "ALT" text
Quote:
Originally Posted by
ceesdk
in admin it uses: "admin/includes/languages/english.php" that file has 4 defines those are :
define('HEADER_ALT_TEXT', 'Airlinersbuyweb.com :Buying Aircraft pictures on Canvas');
define('HEADER_LOGO_WIDTH', '1100px');
define('HEADER_LOGO_HEIGHT', '148px');
define('HEADER_LOGO_IMAGE', 'bannerbuyweb.jpg');
below the line in: includes/templates/your_template/common/ tpl_header.php file
<!--bof-branding display-->
<div id="logoWrapper">
<div id="logo"><?php // echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">' . zen_image($template->get_template_dir(HEADER_LOGO_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . HEADER_LOGO_IMAGE, HEADER_ALT_TEXT) . '</a>'; ?></div>
No. You have used the top code (languages)out of admin and the bottom code out of your catalog. Look at the code and instructions for each and apply the code where it belongs.
Re: Images missing "ALT" text
Quote:
Originally Posted by
usernamenone
No. You have used the top code (languages)out of admin and the bottom code out of your catalog. Look at the code and instructions for each and apply the code where it belongs.
This is how it is at the moment ! the 4 defines are used in the admin screen.
The other instruction is what you suggest I use in the catalog screen!
Re: Images missing "ALT" text
Ok and what is not working correctly for you?