Page 3 of 4 FirstFirst 1234 LastLast
Results 21 to 30 of 37
  1. #21
    Join Date
    Sep 2006
    Posts
    542
    Plugin Contributions
    0

    Default 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
    ~~~~~~~~~~~~~~~~~~~~~~~~~~

    Play with it long enough and you will break it.

  2. #22
    Join Date
    Mar 2011
    Location
    Netherlands
    Posts
    85
    Plugin Contributions
    0

    Default Re: Images missing "ALT" text

    Quote Originally Posted by usernamenone View Post
    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

  3. #23
    Join Date
    Mar 2011
    Location
    Netherlands
    Posts
    85
    Plugin Contributions
    0

    Default Re: Images missing "ALT" text

    Quote Originally Posted by RescoCCC View Post
    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

  4. #24
    Join Date
    May 2010
    Location
    WA State
    Posts
    1,678
    Plugin Contributions
    3

    Default 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>

  5. #25
    Join Date
    Mar 2011
    Location
    Netherlands
    Posts
    85
    Plugin Contributions
    0

    Default Re: Images missing "ALT" text

    Quote Originally Posted by RescoCCC View Post
    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>

  6. #26
    Join Date
    May 2010
    Location
    WA State
    Posts
    1,678
    Plugin Contributions
    3

    Default Re: Images missing "ALT" text

    Do you have those define statements in includes/languages/english/your_template/header.php?

  7. #27
    Join Date
    Mar 2011
    Location
    Netherlands
    Posts
    85
    Plugin Contributions
    0

    Default Re: Images missing "ALT" text

    Quote Originally Posted by RescoCCC View Post
    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');

  8. #28
    Join Date
    Sep 2006
    Posts
    542
    Plugin Contributions
    0

    Default Re: Images missing "ALT" text

    Quote Originally Posted by ceesdk View Post
    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.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~

    Play with it long enough and you will break it.

  9. #29
    Join Date
    Mar 2011
    Location
    Netherlands
    Posts
    85
    Plugin Contributions
    0

    Default Re: Images missing "ALT" text

    Quote Originally Posted by usernamenone View Post
    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!

  10. #30
    Join Date
    Sep 2006
    Posts
    542
    Plugin Contributions
    0

    Default Re: Images missing "ALT" text

    Ok and what is not working correctly for you?
    ~~~~~~~~~~~~~~~~~~~~~~~~~~

    Play with it long enough and you will break it.

 

 
Page 3 of 4 FirstFirst 1234 LastLast

Similar Threads

  1. How do I write alt="" text for my site Logo Image?
    By SandraSD in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 9 Feb 2011, 07:21 PM
  2. Adding the "ALT" text under images.
    By mariuskem in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 30 Jan 2009, 02:26 PM
  3. Replies: 1
    Last Post: 27 Jan 2009, 09:17 PM
  4. Change "ALT Tags" on images
    By directpc in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 31 May 2008, 01:27 PM

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