Since we run a board that supports two languages, i've added a little tweak and made the alt-tag a phrase. Use if you will
Code:
/* Start Image RESIZE */
$navigator_user_agent = ( isset( $_SERVER['HTTP_USER_AGENT'] ) ) ? strtolower( $_SERVER['HTTP_USER_AGENT'] ) : '';
if (stristr($navigator_user_agent, "msie")) {
return '<a href="' . $link . '" target="_blank"><img src="' . $link . '" border="0" alt="' . $vbphrase['click_for_larger_image'] . '" style="width: expression(this.width > 480 ? 480 : true);" /></a>';
} else {
return '<a href="' . $link . '" target="_blank"><img src="' . $link . '" border="0" alt="' . $vbphrase['click_for_larger_image'] . '" style="max-width: 480px;" /></a>';
}
/* End Image RESIZE */
To make this work you have to add the following to the function:
find:
function handle_bbcode_img_match($link)
{
and add right under:
global $vbphrase;
Ow, and don't forget to add this phrase offcourse
Enjoy