Quote:
Originally Posted by furst
Is it supposed to apply the highslide to really small pictures too?
Even my tiniest pictures are effected by it, but not resized.
It's kinda annoying if you can't have it ignore small pictures.
Maybe I'm doing something wrong.
|
/* 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 . '" class="highslide" onclick="return hs.expand(this)" ><img src="' . $link . '" border="0" alt="" style="width: expression(this.width >
340 ? 180 : true);" /></a>';
} else {
return '<a href="' . $link . '" class="highslide" onclick="return hs.expand(this)" ><img src="' . $link . '" border="0" alt="" style="max-width:
430px;" /></a>';
}
/* End Image RESIZE */
^^^^ EDIT THIS NUMBERS ^^^^
That will fix your problem