Quote Originally Posted by nigelt74 View Post
Ok Corrected version - sorry was having issues with browser caching


This isn't an image handler thing, it is to do with Zencarts support for accessibility

But any way, it appears IE8 supports the alt tag correctly (a mod couldn't dlete my last to posts please), by not showing an image hover.

Find your \includes\functions\html_output.php file make a backup of the file

around line 197
Code:
// alt is added to the img tag even if it is null to prevent browsers from outputting
// the image filename as default
    $image = '<img src="' . zen_output_string($src) . '" alt="' . zen_output_string($alt) . '"';

    if (zen_not_null($alt)) {
      $image .= ' title=" ' . zen_output_string($alt) . ' "';
    }
and replace it with this

Code:
// alt is added to the img tag even if it is null to prevent browsers from outputting
// the image filename as default
    $image = '<img src="' . zen_output_string($src) . '" alt="' . zen_output_string($alt) . '"';

    if (zen_not_null($alt)) {
      $image .= ' title=""';
    }
The above should work in all browsers except IE6, and it doesn't really effect the accessibility because the alt tag is still in place
Nigel,

Many thanks for this little trick. It has greatly improved my site.

Cheers,

Kim

founder of PURE Chocolate Truffles